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.Plane
Malware edited this page Dec 21, 2018
·
51 revisions
← Index
Namespace: VRageMath
Assembly: VRage.Math.dll
Defines a plane.
| Member | Description |
|---|---|
Normal |
The normal vector of the Plane. |
D |
The distance of the Plane 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 |
|---|---|
Equals(Plane) |
Determines whether the specified Plane is equal to the Plane. |
Equals(Object) |
Determines whether the specified Object is equal to the Plane. |
GetHashCode() |
Gets the hash code for this object. |
ToString() |
Returns a String that represents the current Plane. |
Normalize() |
Changes the coefficients of the Normal vector of this Plane to make it of unit length. |
static Normalize(Plane)
|
Changes the coefficients of the Normal vector of a Plane to make it of unit length. |
static Normalize(ref Plane, ref Plane)
|
Changes the coefficients of the Normal vector of a Plane to make it of unit length. |
static Transform(Plane, Matrix)
|
Transforms a normalized Plane by a Matrix. |
static Transform(ref Plane, ref Matrix, ref Plane)
|
Transforms a normalized Plane by a Matrix. |
Dot(Vector4) |
Calculates the dot product of a specified Vector4 and this Plane. |
Dot(ref Vector4, ref float) |
Calculates the dot product of a specified Vector4 and this Plane. |
DotCoordinate(Vector3) |
Returns the dot product of a specified Vector3 and the Normal vector of this Plane plus the distance (D) value of the Plane. |
DotCoordinate(ref Vector3, ref float) |
Returns the dot product of a specified Vector3 and the Normal vector of this Plane plus the distance (D) value of the Plane. |
DotNormal(Vector3) |
Returns the dot product of a specified Vector3 and the Normal vector of this Plane. |
DotNormal(ref Vector3, ref float) |
Returns the dot product of a specified Vector3 and the Normal vector of this Plane. |
Intersects(BoundingBox) |
Checks whether the current Plane intersects a specified BoundingBox. |
Intersects(ref BoundingBox, ref PlaneIntersectionType) |
Checks whether the current Plane intersects a BoundingBox. |
Intersects(BoundingFrustum) |
Checks whether the current Plane intersects a specified BoundingFrustum. |
Intersects(BoundingSphere) |
Checks whether the current Plane intersects a specified BoundingSphere. |
Intersects(ref BoundingSphere, ref PlaneIntersectionType) |
Checks whether the current Plane intersects a BoundingSphere. |
RandomPoint() |
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!