Expand description
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ยง
- XMPlane
Dot - Calculates the dot product between an input plane and a 4D vector.
- XMPlane
DotCoord - Calculates the dot product between an input plane and a 3D vector.
- XMPlane
DotNormal - Calculates the dot product between the normal vector of a plane and a 3D vector.
- XMPlane
Equal - Determines if two planes are equal.
- XMPlane
From Point Normal - Computes the equation of a plane constructed from a point in the plane and a normal vector.
- XMPlane
From Points - Computes the equation of a plane constructed from three points in the plane.
- XMPlane
Intersect Line - Finds the intersection between a plane and a line.
- XMPlane
Intersect Plane - Finds the intersection of two planes.
- XMPlane
IsInfinite - Tests whether any of the coefficients of a plane is positive or negative infinity.
- XMPlane
IsNaN - Tests whether any of the coefficients of a plane is a NaN.
- XMPlane
Near Equal - Determines whether two planes are nearly equal.
- XMPlane
Normalize - Normalizes the coefficients of a plane so that coefficients of x, y, and z form a unit normal vector.
- XMPlane
Normalize Est - Estimates the coefficients of a plane so that coefficients of x, y, and z form a unit normal vector.
- XMPlane
NotEqual - Determines if two planes are equal.
- XMPlane
Transform - Transforms a plane by a given matrix.