HDK
|
#include <plane.h>
Basic type: 3-dimensional plane
This class represents a three-dimensional plane as a normal vector and the distance of the plane from the origin, measured along the normal. The plane can also be used to represent a half-space: the side of the plane in the direction of the normal.
|
inline |
|
inline |
Give the coefficients of the equation of the plane. Suitable to OpenGL calls to set the clipping plane.
Returns true
if the given aligned bounding box is at least partially on the positive side (the one the normal points into) of the plane.
|
inline |
This constructor sets this to the plane perpendicular to normal
and that passes through point
. The passed-in normal is normalized to unit length first.
This constructor sets this to the plane that contains the three given points. The normal is constructed from the cross product of (p1
- p0
) (p2
- p0
). Results are undefined if the points are collinear.
This method sets this to the plane given by the equation eqn
[0] * x + eqn
[1] * y + eqn
[2] * z + eqn
[3] = 0.
GF_API GfPlane& GfPlane::Transform | ( | const GfMatrix4d & | matrix | ) |
Transforms the plane by the given matrix.