Assembly: VRage.Math.dll

public struct PlaneD: IEquatable<PlaneD>

Defines a PlaneD.

Fields

Member Description
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)
Normal The normal vector of the PlaneD.

Constructors

Member Description
PlaneD(double, double, double, double)
PlaneD(Vector3D, double)
PlaneD(Vector3D, Vector3D)
PlaneD(Vector3D, Vector3)
PlaneD(Vector4)
PlaneD(Vector3D, Vector3D, Vector3D)

Methods

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

Implements: