Public Types | |
| enum | { POINT_ON_PLANE = 0, POINT_IN_FRONT_OF_PLANE = 1, POINT_BEHIND_PLANE = 2 } |
Public Member Functions | |
| void | setFromPoints (const math::vec3< double > &p0, const math::vec3< double > &p1, const math::vec3< double > &p2) |
| void | normalize () |
| bool | Intersect3 (math::plane< T > const &p2, math::plane< T > const &p3, math::vec3< double > &result) |
| float | GetDistance (const math::vec3< double > &point) const |
| int | ClassifyPoint (const math::vec3< double > &point) const |
| math::plane< T > | lerp (math::plane< T > const &p2, float factor) |
| bool | operator== (math::plane< T > const &rhs) const |
| void | SetNormal (const vec3< double > &rhs) |
| void | SetIntercept (float newIntercept) |
| void | SetFromPoints (const vec3< double > &p0, const vec3< double > &p1, const vec3< double > &p2) |
| void | CalculateIntercept (const vec3< double > &pointOnPlane) |
| vec3< double > | getNormal () |
| float | getIntercept () |
| bool | operator!= (const plane &rhs) const |
| plane | operator- (void) const |
| plane | operator+ (void) const |
Constructor | |
| plane () | |
| plane (vec3< double > newNormal, float newIntercept) | |
| plane (const plane &rhs) | |
Public Attributes | |
| vec3< double > | n |
| float | d |
1.6.1