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.
_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) |
_bool Equals(PlaneD other)_ |
Determines whether the specified PlaneD is equal to the PlaneD. |
_bool Equals(Object obj)_ |
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 _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, ref 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 PlaneD by a Matrix. |
static _void Transform(ref PlaneD plane, ref MatrixD matrix, ref PlaneD result)_ |
Transforms a normalized PlaneD by a Matrix. |
_double Dot(Vector4 value)_ |
Calculates the dot product of a specified Vector4 and this PlaneD. |
_void Dot(ref Vector4 value, ref 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, ref 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, ref double result)_ |
Returns the dot product of a specified Vector3D and the Normal vector of this PlaneD. |
_PlaneIntersectionType Intersects(BoundingBoxD box)_ |
Checks whether the current PlaneD intersects a specified BoundingBox. |
_void Intersects(ref BoundingBoxD box, ref 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, ref PlaneIntersectionType result)_ |
Checks whether the current PlaneD intersects a BoundingSphere. |
_Vector3D RandomPoint()_ |
|
_double DistanceToPoint(Vector3D point)_ |
|
_double DistanceToPoint(ref Vector3D point)_ |
|
_Vector3D ProjectPoint(ref Vector3D point)_ |
|
_Vector3D Intersection(ref Vector3D from, ref Vector3D direction)_ |
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!