PxPlane#
Defined in include/foundation/PxPlane.h
-
class PxPlane#
Representation of a plane.
Plane equation used: n.dot(v) + d = 0
Public Functions
-
inline PxPlane()#
Constructor.
-
inline PxPlane(float nx, float ny, float nz, float distance)#
Constructor from a normal and a distance.
-
inline PxPlane(const PxVec3 &point, const PxVec3 &normal)#
Constructor from a point on the plane and a normal.
-
inline PxPlane(const PxVec3 &p0, const PxVec3 &p1, const PxVec3 &p2)#
Constructor from three points.
-
inline void normalize()#
equivalent plane with unit normal
-
inline PxPlane transform(const PxTransform &pose) const#
transform plane
-
inline PxPlane inverseTransform(const PxTransform &pose) const#
inverse-transform plane
-
inline PxPlane()#