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
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 unequal.
XMPlaneTransform
Transforms a plane by a given matrix.
XMPlaneTransformStream
Transforms a stream of planes by a given matrix.

 

DirectXMath Library Functions