|
Space Engineers
|
Defines a plane. More...
Public Member Functions | |
| Plane (float a, float b, float c, float d) | |
| Creates a new instance of Plane. More... | |
| Plane (Vector3 normal, float d) | |
| Creates a new instance of Plane. More... | |
| Plane (Vector3 position, Vector3 normal) | |
| Creates a new instance of Plane. More... | |
| Plane (Vector4 value) | |
| Creates a new instance of Plane. More... | |
| Plane (Vector3 point1, Vector3 point2, Vector3 point3) | |
| Creates a new instance of Plane. More... | |
| bool | Equals (Plane other) |
| Determines whether the specified Plane is equal to the Plane. More... | |
| override bool | Equals (object obj) |
| Determines whether the specified Object is equal to the Plane. More... | |
| override int | GetHashCode () |
| Gets the hash code for this object. More... | |
| override string | ToString () |
| Returns a String that represents the current Plane. More... | |
| void | Normalize () |
| Changes the coefficients of the Normal vector of this Plane to make it of unit length. More... | |
| float | Dot (Vector4 value) |
| Calculates the dot product of a specified Vector4 and this Plane. More... | |
| void | Dot (ref Vector4 value, out float result) |
| Calculates the dot product of a specified Vector4 and this Plane. More... | |
| 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. More... | |
| void | DotCoordinate (ref Vector3 value, out 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. More... | |
| float | DotNormal (Vector3 value) |
| Returns the dot product of a specified Vector3 and the Normal vector of this Plane. More... | |
| void | DotNormal (ref Vector3 value, out float result) |
| Returns the dot product of a specified Vector3 and the Normal vector of this Plane. More... | |
| PlaneIntersectionType | Intersects (BoundingBox box) |
| Checks whether the current Plane intersects a specified BoundingBox. More... | |
| void | Intersects (ref BoundingBox box, out PlaneIntersectionType result) |
| Checks whether the current Plane intersects a BoundingBox. More... | |
| PlaneIntersectionType | Intersects (BoundingFrustum frustum) |
| Checks whether the current Plane intersects a specified BoundingFrustum. More... | |
| PlaneIntersectionType | Intersects (BoundingSphere sphere) |
| Checks whether the current Plane intersects a specified BoundingSphere. More... | |
| void | Intersects (ref BoundingSphere sphere, out PlaneIntersectionType result) |
| Checks whether the current Plane intersects a BoundingSphere. More... | |
| Vector3 | RandomPoint () |
Static Public Member Functions | |
| static bool | operator== (Plane lhs, Plane rhs) |
| Determines whether two instances of Plane are equal. More... | |
| static bool | operator!= (Plane lhs, Plane rhs) |
| Determines whether two instances of Plane are not equal. More... | |
| static Plane | Normalize (Plane value) |
| Changes the coefficients of the Normal vector of a Plane to make it of unit length. More... | |
| static void | Normalize (ref Plane value, out Plane result) |
| Changes the coefficients of the Normal vector of a Plane to make it of unit length. More... | |
| static Plane | Transform (Plane plane, Matrix matrix) |
| Transforms a normalized Plane by a Matrix. More... | |
| static void | Transform (ref Plane plane, ref Matrix matrix, out Plane result) |
| Transforms a normalized Plane by a Matrix. More... | |
Public Attributes | |
| Vector3 | Normal |
| The normal vector of the Plane. More... | |
| 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) More... | |
Static Public Attributes | |
| static System.Random | _random |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Checks whether the current Plane intersects a specified BoundingBox.
| box | The BoundingBox to test for intersection with. |
|
inline |
Checks whether the current Plane intersects a BoundingBox.
| box | The BoundingBox to check for intersection with. |
| result | [OutAttribute] An enumeration indicating whether the Plane intersects the BoundingBox. |
|
inline |
Checks whether the current Plane intersects a specified BoundingFrustum.
| frustum | The BoundingFrustum to check for intersection with. |
|
inline |
Checks whether the current Plane intersects a specified BoundingSphere.
| sphere | The BoundingSphere to check for intersection with. |
|
inline |
Checks whether the current Plane intersects a BoundingSphere.
| sphere | The BoundingSphere to check for intersection with. |
| result | [OutAttribute] An enumeration indicating whether the Plane intersects the BoundingSphere. |
|
inline |
|
inline |
|
inlinestatic |
Transforms a normalized Plane by a Matrix.
| plane | The normalized Plane to transform. This Plane must already be normalized, so that its Normal vector is of unit length, before this method is called. |
| matrix | The transform Matrix to apply to the Plane. |
| result | [OutAttribute] An existing Plane filled in with the results of applying the transform. |
| float VRageMath.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)
| Vector3 VRageMath.Plane.Normal |
1.8.8