Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.PlaneD

Morten Aune Lyrstad edited this page Apr 16, 2022 · 51 revisions

IndexNamespace Index

PlaneD Struct

public struct PlaneD: IEquatable<PlaneD>

Defines a PlaneD.

Namespace: VRageMath
Assembly: VRage.Math.dll

Implements:

Fields

Member Description
[double D](VRageMath.PlaneD.D) The distance of the PlaneD along its normal from the origin. Note: Be careful! The distance is signed and is the opposite of what people usually expect. If you look closely at the plane equation: (n dot P) + D = 0, you'll realize that D = - (n dot P) (that is, negative instead of positive)
[Vector3D Normal](VRageMath.PlaneD.Normal) The normal vector of the PlaneD.

Constructors

Member Description
[PlaneD(double, double, double, double)](VRageMath.PlaneD..ctor)
[PlaneD(Vector3D, double)](VRageMath.PlaneD..ctor)
[PlaneD(Vector3D, Vector3D)](VRageMath.PlaneD..ctor)
[PlaneD(Vector3D, Vector3)](VRageMath.PlaneD..ctor)
[PlaneD(Vector4)](VRageMath.PlaneD..ctor)
[PlaneD(Vector3D, Vector3D, Vector3D)](VRageMath.PlaneD..ctor)

Methods

Member Description
[static PlaneD Normalize(PlaneD)](VRageMath.PlaneD.Normalize) Changes the coefficients of the Normal vector of a PlaneD to make it of unit length.
[static void Normalize(ref PlaneD, out PlaneD)](VRageMath.PlaneD.Normalize) Changes the coefficients of the Normal vector of a PlaneD to make it of unit length.
[static PlaneD Transform(PlaneD, MatrixD)](VRageMath.PlaneD.Transform) Transforms a normalized plane by a Matrix.
[static void Transform(ref PlaneD, ref MatrixD, out PlaneD)](VRageMath.PlaneD.Transform) Transforms a normalized plane by a Matrix.
[double DistanceToPoint(Vector3D)](VRageMath.PlaneD.DistanceToPoint)
[double DistanceToPoint(ref Vector3D)](VRageMath.PlaneD.DistanceToPoint)
[double Dot(Vector4)](VRageMath.PlaneD.Dot) Calculates the dot product of a specified Vector4 and this PlaneD.
[void Dot(ref Vector4, out double)](VRageMath.PlaneD.Dot) Calculates the dot product of a specified Vector4 and this PlaneD.
[double DotCoordinate(Vector3D)](VRageMath.PlaneD.DotCoordinate) Returns the dot product of a specified Vector3D and the Normal vector of this PlaneD plus the distance (D) value of the PlaneD.
[void DotCoordinate(ref Vector3D, out double)](VRageMath.PlaneD.DotCoordinate) Returns the dot product of a specified Vector3D and the Normal vector of this PlaneD plus the distance (D) value of the PlaneD.
[double DotNormal(Vector3D)](VRageMath.PlaneD.DotNormal) Returns the dot product of a specified Vector3D and the Normal vector of this PlaneD.
[void DotNormal(ref Vector3D, out double)](VRageMath.PlaneD.DotNormal) Returns the dot product of a specified Vector3D and the Normal vector of this PlaneD.
[bool Equals(PlaneD)](VRageMath.PlaneD.Equals) Determines whether the specified PlaneD is equal to the PlaneD.
[bool Equals(object)](VRageMath.PlaneD.Equals) Determines whether the specified Object is equal to the PlaneD.
[int GetHashCode()](VRageMath.PlaneD.GetHashCode) Gets the hash code for this object.
[Vector3D Intersection(ref Vector3D, ref Vector3D)](VRageMath.PlaneD.Intersection) Gets intersection point in Plane.
[PlaneIntersectionType Intersects(BoundingBoxD)](VRageMath.PlaneD.Intersects) Checks whether the current PlaneD intersects a specified BoundingBox.
[void Intersects(ref BoundingBoxD, out PlaneIntersectionType)](VRageMath.PlaneD.Intersects) Checks whether the current PlaneD intersects a BoundingBox.
[PlaneIntersectionType Intersects(BoundingFrustumD)](VRageMath.PlaneD.Intersects) Checks whether the current PlaneD intersects a specified BoundingFrustum.
[PlaneIntersectionType Intersects(BoundingSphereD)](VRageMath.PlaneD.Intersects) Checks whether the current PlaneD intersects a specified BoundingSphere.
[void Intersects(ref BoundingSphere, out PlaneIntersectionType)](VRageMath.PlaneD.Intersects) Checks whether the current PlaneD intersects a BoundingSphere.
[void Normalize()](VRageMath.PlaneD.Normalize) Changes the coefficients of the Normal vector of this PlaneD to make it of unit length.
[Vector3D ProjectPoint(ref Vector3D)](VRageMath.PlaneD.ProjectPoint)
[Vector3D RandomPoint()](VRageMath.PlaneD.RandomPoint)
[string ToString()](VRageMath.PlaneD.ToString) Returns a String that represents the current PlaneD.

Clone this wiki locally