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.
_Vector3 Normal_ |
The normal vector of the Plane. |
_float 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) |
_bool Equals(Plane other)_ |
Determines whether the specified Plane is equal to the Plane. |
_bool Equals(Object obj)_ |
Determines whether the specified Object is equal to the Plane. |
_int GetHashCode()_ |
Gets the hash code for this object. |
_string ToString()_ |
Returns a String that represents the current Plane. |
_void Normalize()_ |
Changes the coefficients of the Normal vector of this Plane to make it of unit length. |
static _Plane Normalize(Plane value)_ |
Changes the coefficients of the Normal vector of a Plane to make it of unit length. |
static _void Normalize(ref Plane value, ref Plane result)_ |
Changes the coefficients of the Normal vector of a Plane to make it of unit length. |
static _Plane Transform(Plane plane, Matrix matrix)_ |
Transforms a normalized Plane by a Matrix. |
static _void Transform(ref Plane plane, ref Matrix matrix, ref Plane result)_ |
Transforms a normalized Plane by a Matrix. |
_float Dot(Vector4 value)_ |
Calculates the dot product of a specified Vector4 and this Plane. |
_void Dot(ref Vector4 value, ref float result)_ |
Calculates the dot product of a specified Vector4 and this Plane. |
_float DotCoordinate(Vector3 value)_ |
Returns the dot product of a specified Vector3 and the Normal vector of this Plane plus the distance (D) value of the Plane. |
_void DotCoordinate(ref Vector3 value, ref float result)_ |
Returns the dot product of a specified Vector3 and the Normal vector of this Plane plus the distance (D) value of the Plane. |
_float DotNormal(Vector3 value)_ |
Returns the dot product of a specified Vector3 and the Normal vector of this Plane. |
_void DotNormal(ref Vector3 value, ref float result)_ |
Returns the dot product of a specified Vector3 and the Normal vector of this Plane. |
_PlaneIntersectionType Intersects(BoundingBox box)_ |
Checks whether the current Plane intersects a specified BoundingBox. |
_void Intersects(ref BoundingBox box, ref PlaneIntersectionType result)_ |
Checks whether the current Plane intersects a BoundingBox. |
_PlaneIntersectionType Intersects(BoundingFrustum frustum)_ |
Checks whether the current Plane intersects a specified BoundingFrustum. |
_PlaneIntersectionType Intersects(BoundingSphere sphere)_ |
Checks whether the current Plane intersects a specified BoundingSphere. |
_void Intersects(ref BoundingSphere sphere, ref PlaneIntersectionType result)_ |
Checks whether the current Plane intersects a BoundingSphere. |
_Vector3 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!