-
Notifications
You must be signed in to change notification settings - Fork 124
VRageMath.PlaneD
← Index ← Namespace Index
public struct PlaneD: IEquatable<PlaneD>
Defines a PlaneD.
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
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)
The normal vector of the PlaneD.
PlaneD(double a, double b, double c, double d)
PlaneD(Vector3D normal, double d)
PlaneD(Vector3D position, Vector3D normal)
PlaneD(Vector3D position, Vector3 normal)
PlaneD(Vector3D point1, Vector3D point2, Vector3D point3)
static PlaneD Normalize(PlaneD value)
Changes the coefficients of the Normal vector of a PlaneD to make it of unit length.
static void Normalize(ref PlaneD value, out PlaneD result)
Changes the coefficients of the Normal vector of a PlaneD to make it of unit length.
static PlaneD Transform(PlaneD plane, MatrixD matrix)
Transforms a normalized plane by a Matrix.
static void Transform(ref PlaneD plane, ref MatrixD matrix, out PlaneD result)
Transforms a normalized plane by a Matrix.
double DistanceToPoint(Vector3D point)
double DistanceToPoint(ref Vector3D point)
Calculates the dot product of a specified Vector4 and this PlaneD.
void Dot(ref Vector4 value, out double result)
Calculates the dot product of a specified Vector4 and this PlaneD.
double DotCoordinate(Vector3D value)
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 value, out double result)
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 value)
Returns the dot product of a specified Vector3D and the Normal vector of this PlaneD.
void DotNormal(ref Vector3D value, out double result)
Returns the dot product of a specified Vector3D and the Normal vector of this PlaneD.
Determines whether the specified PlaneD is equal to the PlaneD.
Determines whether the specified Object is equal to the PlaneD.
Gets the hash code for this object.
Vector3D Intersection(ref Vector3D from, ref Vector3D direction)
Gets intersection point in Plane.
PlaneIntersectionType Intersects(BoundingBoxD box)
Checks whether the current PlaneD intersects a specified BoundingBox.
void Intersects(ref BoundingBoxD box, out PlaneIntersectionType result)
Checks whether the current PlaneD intersects a BoundingBox.
PlaneIntersectionType Intersects(BoundingFrustumD frustum)
Checks whether the current PlaneD intersects a specified BoundingFrustum.
PlaneIntersectionType Intersects(BoundingSphereD sphere)
Checks whether the current PlaneD intersects a specified BoundingSphere.
void Intersects(ref BoundingSphere sphere, out PlaneIntersectionType result)
Checks whether the current PlaneD intersects a BoundingSphere.
Changes the coefficients of the Normal vector of this PlaneD to make it of unit length.
Vector3D ProjectPoint(ref Vector3D point)
Returns a String that represents the current PlaneD.
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!