This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.PlaneD
Malware edited this page Dec 21, 2018
·
51 revisions
← Index
Namespace: VRageMath
Assembly: VRage.Math.dll
Defines a PlaneD.
| Member | Description |
|---|---|
VRageMath.Vector3D Normal |
The normal vector of the PlaneD. |
double 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) |
| Member | Description |
|---|---|
bool Equals(VRageMath.PlaneD) |
Determines whether the specified PlaneD is equal to the PlaneD. |
bool Equals(System.Object) |
Determines whether the specified Object is equal to the PlaneD. |
int GetHashCode() |
Gets the hash code for this object. |
string ToString() |
Returns a String that represents the current PlaneD. |
void Normalize() |
Changes the coefficients of the Normal vector of this PlaneD to make it of unit length. |
static VRageMath.PlaneD Normalize(VRageMath.PlaneD)
|
Changes the coefficients of the Normal vector of a PlaneD to make it of unit length. |
static void Normalize(ref VRageMath.PlaneD, ref VRageMath.PlaneD)
|
Changes the coefficients of the Normal vector of a PlaneD to make it of unit length. |
static VRageMath.PlaneD Transform(VRageMath.PlaneD, VRageMath.MatrixD)
|
Transforms a normalized PlaneD by a Matrix. |
static void Transform(ref VRageMath.PlaneD, ref VRageMath.MatrixD, ref VRageMath.PlaneD)
|
Transforms a normalized PlaneD by a Matrix. |
double Dot(VRageMath.Vector4) |
Calculates the dot product of a specified Vector4 and this PlaneD. |
void Dot(ref VRageMath.Vector4, ref double) |
Calculates the dot product of a specified Vector4 and this PlaneD. |
double DotCoordinate(VRageMath.Vector3D) |
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 VRageMath.Vector3D, ref double) |
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(VRageMath.Vector3D) |
Returns the dot product of a specified Vector3D and the Normal vector of this PlaneD. |
void DotNormal(ref VRageMath.Vector3D, ref double) |
Returns the dot product of a specified Vector3D and the Normal vector of this PlaneD. |
VRageMath.PlaneIntersectionType Intersects(VRageMath.BoundingBoxD) |
Checks whether the current PlaneD intersects a specified BoundingBox. |
void Intersects(ref VRageMath.BoundingBoxD, ref VRageMath.PlaneIntersectionType) |
Checks whether the current PlaneD intersects a BoundingBox. |
VRageMath.PlaneIntersectionType Intersects(VRageMath.BoundingFrustumD) |
Checks whether the current PlaneD intersects a specified BoundingFrustum. |
VRageMath.PlaneIntersectionType Intersects(VRageMath.BoundingSphereD) |
Checks whether the current PlaneD intersects a specified BoundingSphere. |
void Intersects(ref VRageMath.BoundingSphere, ref VRageMath.PlaneIntersectionType) |
Checks whether the current PlaneD intersects a BoundingSphere. |
VRageMath.Vector3D RandomPoint() |
|
double DistanceToPoint(VRageMath.Vector3D) |
|
double DistanceToPoint(ref VRageMath.Vector3D) |
|
VRageMath.Vector3D ProjectPoint(ref VRageMath.Vector3D) |
|
VRageMath.Vector3D Intersection(ref VRageMath.Vector3D, ref VRageMath.Vector3D) |
Gets intersection point in Plane. |
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!