[−][src]Module directx_math::plane
Plane functions
These functions use an XMVECTOR 4-vector to represent the coefficients of the plane equation, Ax+By+Cz+D = 0
,
where the X
-component is A
, the Y
-component is B
, the Z
-component is C
, and the W
-component is D
.
https://docs.microsoft.com/en-us/windows/win32/dxmath/ovw-xnamath-reference-functions-plane
Functions
XMPlaneDot | Calculates the dot product between an input plane and a 4D vector. |
XMPlaneDotCoord | Calculates the dot product between an input plane and a 3D vector. |
XMPlaneDotNormal | Calculates the dot product between the normal vector of a plane and a 3D vector. |
XMPlaneEqual | Determines if two planes are equal. |
XMPlaneFromPointNormal | Computes the equation of a plane constructed from a point in the plane and a normal vector. |
XMPlaneFromPoints | Computes the equation of a plane constructed from three points in the plane. |
XMPlaneIntersectLine | Finds the intersection between a plane and a line. |
XMPlaneIntersectPlane | Finds the intersection of two planes. |
XMPlaneIsInfinite | Tests whether any of the coefficients of a plane is positive or negative infinity. |
XMPlaneIsNaN | Tests whether any of the coefficients of a plane is a NaN. |
XMPlaneNearEqual | Determines whether two planes are nearly equal. |
XMPlaneNormalize | Normalizes the coefficients of a plane so that coefficients of x, y, and z form a unit normal vector. |
XMPlaneNormalizeEst | Estimates the coefficients of a plane so that coefficients of x, y, and z form a unit normal vector. |
XMPlaneNotEqual | Determines if two planes are equal. |
XMPlaneTransform | Transforms a plane by a given matrix. |