DirectXMath Library Plane Functions
Lists the plane functions provided by DirectXMath.
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.
In this section
| Topic | Description |
|---|---|
|
Calculates the dot product between an input plane and a 4D vector. | |
|
Calculates the dot product between an input plane and a 3D vector. | |
|
Calculates the dot product between the normal vector of a plane and a 3D vector. | |
|
Determines if two planes are equal. | |
|
Computes the equation of a plane constructed from a point in the plane and a normal vector. | |
|
Computes the equation of a plane constructed from three points in the plane. | |
|
Finds the intersection between a plane and a line. | |
|
Finds the intersection of two planes. | |
|
Tests whether any of the coefficients of a plane is positive or negative infinity. | |
|
Tests whether any of the coefficients of a plane is a NaN. | |
|
Determines whether two planes are nearly equal. | |
|
Normalizes the coefficients of a plane so that coefficients of x, y, and z form a unit normal vector. | |
|
Estimates the coefficients of a plane so that coefficients of x, y, and z form a unit normal vector. | |
|
Determines if two planes are unequal. | |
|
Transforms a plane by a given matrix. | |
|
Transforms a stream of planes by a given matrix. |
Related topics