VRageMath
Plane
Assembly: VRage.Math.dll
public struct Plane: IEquatable<Plane>
Defines a plane.
Fields
| Member | Description |
|---|---|
| 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) |
| Normal | The normal vector of the Plane. |
Constructors
| Member | Description |
|---|---|
| Plane(float, float, float, float) | |
| Plane(Vector3, float) | |
| Plane(Vector3, Vector3) | |
| Plane(Vector4) | |
| Plane(Vector3, Vector3, Vector3) | |
| Plane(ref Vector3, ref Vector3, ref Vector3) |
Methods
| Member | Description |
|---|---|
| static Normalize(Plane) | Changes the coefficients of the Normal vector of a Plane to make it of unit length. |
| static Normalize(ref Plane, out 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, out Plane) | Transforms a normalized Plane by a Matrix. |
| Dot(Vector4) | Calculates the dot product of a specified Vector4 and this Plane. |
| Dot(ref Vector4, out 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, out 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(Vector3D) | Returns the dot product of a specified Vector3 and the Normal vector of this Plane. |
| DotNormal(ref Vector3, out float) | Returns the dot product of a specified Vector3 and the Normal vector of this Plane. |
| 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. |
| Intersection(ref Vector3D, ref Vector3D) | Gets intersection point in Plane. |
| Intersects(BoundingBox) | Checks whether the current Plane intersects a specified BoundingBox. |
| Intersects(ref BoundingBox, out 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, out PlaneIntersectionType) | Checks whether the current Plane intersects a BoundingSphere. |
| Normalize() | Changes the coefficients of the Normal vector of this Plane to make it of unit length. |
| RandomPoint() | |
| ToString() | Returns a String that represents the current Plane. |
Implements: