Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

TopicDescription

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.

 

Related topics

DirectXMath Library Functions

 

 

Show:
© 2017 Microsoft