|
| Plane () |
| Default constructor - sets everything to 0. More...
|
|
| Plane (const Plane &rhs) |
|
| Plane (const Vector3f &rkNormal, float fConstant) |
| Construct a plane through a normal, and a distance to move the plane along the normal. More...
|
|
| Plane (float a, float b, float c, float d) |
| Construct a plane using the 4 constants directly. More...
|
|
| Plane (const Vector3f &rkNormal, const Vector3f &rkPoint) |
|
| Plane (const Vector3f &rkPoint0, const Vector3f &rkPoint1, const Vector3f &rkPoint2) |
|
PlaneSide | getSide (const Vector3f &rkPoint) const |
|
PlaneSide | getSide (const Vector3f ¢re, const Vector3f &halfSize) const |
| returns the side where the aligneBox is. More...
|
|
float | getDistance (const Vector3f &rkPoint) const |
| This is a pseudodistance. More...
|
|
void | redefine (const Vector3f &rkPoint0, const Vector3f &rkPoint1, const Vector3f &rkPoint2) |
| Redefine this plane based on 3 points. More...
|
|
void | redefine (const Vector3f &rkNormal, const Vector3f &rkPoint) |
| Redefine this plane based on a normal and a point. More...
|
|
Vector3f | projectVector (const Vector3f &v) const |
| Project a vector onto the plane. More...
|
|
float | normalise (void) |
| Normalises the plane. More...
|
|
bool | operator== (const Plane &rhs) const |
| Comparison operator. More...
|
|
bool | operator!= (const Plane &rhs) const |
|
Defines a plane in 3D space.
- This equates to a vector (the normal of the plane, whose x, y and z components equate to the coefficients A, B and C respectively), and a constant (D) which is the distance along the normal you have to go to move the plane back to the origin.