This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Plane
Morten Aune Lyrstad edited this page Apr 16, 2022
·
50 revisions
← Index ← Namespace Index
public struct Plane: IEquatable\<Plane\>
Defines a plane.
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
Member | Description |
---|---|
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) |
Vector3 Normal | The normal vector of the Plane. |
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) |
Member | Description |
---|---|
static Plane Normalize(Plane) | Changes the coefficients of the Normal vector of a Plane to make it of unit length. |
static void Normalize(ref Plane, out Plane) | Changes the coefficients of the Normal vector of a Plane to make it of unit length. |
static Plane Transform(Plane, Matrix) | Transforms a normalized Plane by a Matrix. |
static void Transform(ref Plane, ref Matrix, out Plane) | Transforms a normalized Plane by a Matrix. |
float Dot(Vector4) | Calculates the dot product of a specified Vector4 and this Plane. |
void Dot(ref Vector4, out float) | Calculates the dot product of a specified Vector4 and this Plane. |
float 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. |
void 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. |
double DotNormal(Vector3D) | Returns the dot product of a specified Vector3 and the Normal vector of this Plane. |
void DotNormal(ref Vector3, out float) | Returns the dot product of a specified Vector3 and the Normal vector of this Plane. |
bool Equals(Plane) | Determines whether the specified Plane is equal to the Plane. |
bool Equals(object) | Determines whether the specified Object is equal to the Plane. |
int GetHashCode() | Gets the hash code for this object. |
Vector3D Intersection(ref Vector3D, ref Vector3D) | Gets intersection point in Plane. |
PlaneIntersectionType Intersects(BoundingBox) | Checks whether the current Plane intersects a specified BoundingBox. |
void Intersects(ref BoundingBox, out PlaneIntersectionType) | Checks whether the current Plane intersects a BoundingBox. |
PlaneIntersectionType Intersects(BoundingFrustum) | Checks whether the current Plane intersects a specified BoundingFrustum. |
PlaneIntersectionType Intersects(BoundingSphere) | Checks whether the current Plane intersects a specified BoundingSphere. |
void Intersects(ref BoundingSphere, out PlaneIntersectionType) | Checks whether the current Plane intersects a BoundingSphere. |
void Normalize() | Changes the coefficients of the Normal vector of this Plane to make it of unit length. |
Vector3 RandomPoint() | |
string ToString() | Returns a String that represents the current 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!