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 126
VRageMath.PlaneD
Morten Aune Lyrstad edited this page Apr 16, 2022
·
50 revisions
← Index ← Namespace Index
public struct PlaneD: IEquatable
Defines a PlaneD.
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
Member | Description |
---|---|
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) |
Vector3D Normal | The normal vector of the PlaneD. |
Member | Description |
---|---|
PlaneD(double, double, double, double) | |
PlaneD(Vector3D, double) | |
PlaneD(Vector3D, Vector3D) | |
PlaneD(Vector3D, Vector3) | |
PlaneD(Vector4) | |
PlaneD(Vector3D, Vector3D, Vector3D) |
Member | Description |
---|---|
static PlaneD Normalize(PlaneD) | Changes the coefficients of the Normal vector of a PlaneD to make it of unit length. |
static void Normalize(ref PlaneD, out PlaneD) | Changes the coefficients of the Normal vector of a PlaneD to make it of unit length. |
static PlaneD Transform(PlaneD, MatrixD) | Transforms a normalized plane by a Matrix. |
static void Transform(ref PlaneD, ref MatrixD, out PlaneD) | Transforms a normalized plane by a Matrix. |
double DistanceToPoint(Vector3D) | |
double DistanceToPoint(ref Vector3D) | |
double Dot(Vector4) | Calculates the dot product of a specified Vector4 and this PlaneD. |
void Dot(ref Vector4, out double) | Calculates the dot product of a specified Vector4 and this PlaneD. |
double DotCoordinate(Vector3D) | 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, out double) | 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) | Returns the dot product of a specified Vector3D and the Normal vector of this PlaneD. |
void DotNormal(ref Vector3D, out double) | Returns the dot product of a specified Vector3D and the Normal vector of this PlaneD. |
bool Equals(PlaneD) | Determines whether the specified PlaneD is equal to the PlaneD. |
bool Equals(object) | Determines whether the specified Object is equal to the PlaneD. |
int GetHashCode() | Gets the hash code for this object. |
Vector3D Intersection(ref Vector3D, ref Vector3D) | Gets intersection point in Plane. |
PlaneIntersectionType Intersects(BoundingBoxD) | Checks whether the current PlaneD intersects a specified BoundingBox. |
void Intersects(ref BoundingBoxD, out PlaneIntersectionType) | Checks whether the current PlaneD intersects a BoundingBox. |
PlaneIntersectionType Intersects(BoundingFrustumD) | Checks whether the current PlaneD intersects a specified BoundingFrustum. |
PlaneIntersectionType Intersects(BoundingSphereD) | Checks whether the current PlaneD intersects a specified BoundingSphere. |
void Intersects(ref BoundingSphere, out PlaneIntersectionType) | Checks whether the current PlaneD intersects a BoundingSphere. |
void Normalize() | Changes the coefficients of the Normal vector of this PlaneD to make it of unit length. |
Vector3D ProjectPoint(ref Vector3D) | |
Vector3D RandomPoint() | |
string ToString() | Returns a String that represents the current PlaneD. |
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!