|
Public Member Functions |
NVSG_API | Plane3f (void) |
| Default constructor.
|
NVSG_API | Plane3f (const Vec3f &n, float c) |
| Constructor by normal and offset.
|
NVSG_API | Plane3f (const Vec3f &n, const Vec3f &p) |
| Constructor by normal and point on plane.
|
NVSG_API | Plane3f (const Vec3f &p0, const Vec3f &p1, const Vec3f &p2) |
| Constructor by three points.
|
NVSG_API Plane3f | operator- (void) const |
| Negation operator.
|
NVSG_API Plane3f & | operator= (const Plane3f &pl) |
| Assignment operator.
|
NVSG_API bool | operator== (const Plane3f &pl) const |
| Equality operator.
|
NVSG_API bool | operator!= (const Plane3f &pl) const |
| Inequality operator.
|
NVSG_API float | operator() (const Vec3f &p) const |
| Calling operator.
|
NVSG_API Vec3f & | n (void) |
| Non-constant access to the plane normal.
|
NVSG_API const Vec3f & | n (void) const |
| Constant access to the plane normal.
|
NVSG_API float & | c (void) |
| Non-constant access to the plane offset.
|
NVSG_API const float & | c (void) const |
| Constant access to the plane offset.
|
Related Functions |
(Note that these are not member functions.)
|
bool | areOnOppositeSides (const Plane3f &plane, const Vec3f &p0, const Vec3f &p1) |
bool | areOnSameSide (const Plane3f &plane, const Vec3f &p0, const Vec3f &p1) |
float | signedDistance (const Plane3f &pl, const Vec3f &p) |
float | distance (const Plane3f &pl, const Vec3f &p) |
Vec3f | nearestPoint (const Plane3f &pl, const Vec3f &p) |