Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.PlaneD

Malware edited this page Dec 24, 2018 · 50 revisions

Index

PlaneD Struct

Namespace: VRageMath
Assembly: VRage.Math.dll

Fields

Member Description
Normal The normal vector of the 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)

Methods

Member Description
Equals(PlaneD) Determines whether the specified PlaneD is equal to the PlaneD.
Equals(object) Determines whether the specified Object is equal to the PlaneD.
GetHashCode() Gets the hash code for this object.
ToString() Returns a String that represents the current PlaneD.
Normalize() Changes the coefficients of the Normal vector of this PlaneD to make it of unit length.
Normalize(PlaneD) Changes the coefficients of the Normal vector of a PlaneD to make it of unit length.
Normalize(ref PlaneD, ref PlaneD) Changes the coefficients of the Normal vector of a PlaneD to make it of unit length.
Transform(PlaneD, MatrixD) Transforms a normalized PlaneD by a Matrix.
Transform(ref PlaneD, ref MatrixD, ref PlaneD) Transforms a normalized PlaneD by a Matrix.
Dot(Vector4) Calculates the dot product of a specified Vector4 and this PlaneD.
Dot(ref Vector4, ref double) Calculates the dot product of a specified Vector4 and this PlaneD.
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.
DotCoordinate(ref Vector3D, ref double) Returns the dot product of a specified Vector3D and the Normal vector of this PlaneD plus the distance (D) value of the PlaneD.
DotNormal(Vector3D) Returns the dot product of a specified Vector3D and the Normal vector of this PlaneD.
DotNormal(ref Vector3D, ref double) Returns the dot product of a specified Vector3D and the Normal vector of this PlaneD.
Intersects(BoundingBoxD) Checks whether the current PlaneD intersects a specified BoundingBox.
Intersects(ref BoundingBoxD, ref PlaneIntersectionType) Checks whether the current PlaneD intersects a BoundingBox.
Intersects(BoundingFrustumD) Checks whether the current PlaneD intersects a specified BoundingFrustum.
Intersects(BoundingSphereD) Checks whether the current PlaneD intersects a specified BoundingSphere.
Intersects(ref BoundingSphere, ref PlaneIntersectionType) Checks whether the current PlaneD intersects a BoundingSphere.
RandomPoint()
DistanceToPoint(Vector3D)
DistanceToPoint(ref Vector3D)
ProjectPoint(ref Vector3D)
Intersection(ref Vector3D, ref Vector3D) Gets intersection point in Plane.
Clone this wiki locally