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