Public Methods |
| csPolyPlane () |
| Constructor. Reference count is initialized to 1.
|
void | IncRef () |
| Maintain a reference counter for texture type objects.
|
void | DecRef () |
| Decrement usage counter.
|
void | ObjectToWorld (const csReversibleTransform &obj, const csVector3 &vertex1) |
| Transform this plane from object space to world space using the given matrices. More...
|
void | WorldToCamera (const csReversibleTransform &t, const csVector3 &vertex1) |
| Transform this plane from world space to camera space using the given matrices. More...
|
float | SquaredDistance (csVector3 &v) const |
| Return the minimum squared distance from the plane to a point in 3D space (using world coordinates).
|
bool | NearlyEqual (csPolyPlane *plane) const |
| Check if this plane is nearly equal to another one in world space coordinates (it only checks on the component values. More...
|
void | ClosestPoint (csVector3 &v, csVector3 &isect) const |
| Return the closest point on the plane to a point in 3D space (using world coordinates).
|
bool | IntersectSegment (const csVector3 &start, const csVector3 &end, csVector3 &isect, float *pr) const |
| Run a segment through this plane (in object space) and see where it intersects. More...
|
csPlane3& | GetObjectPlane () |
| Get the object version of the plane.
|
const csPlane3& | GetObjectPlane () const |
| Get the object version of the plane.
|
csPlane3& | GetWorldPlane () |
| Get the world version of the plane.
|
const csPlane3& | GetWorldPlane () const |
| Get the world version of the plane.
|
csPlane3& | GetCameraPlane () |
| Get the camera version of the plane.
|
const csPlane3& | GetCameraPlane () const |
| Get the camera version of the plane.
|
void | GetObjectNormal (float *p_A, float *p_B, float *p_C, float *p_D) const |
| Get the normal in object space.
|
void | GetWorldNormal (float *p_A, float *p_B, float *p_C, float *p_D) const |
| Get the normal in world space.
|
void | GetCameraNormal (float *p_A, float *p_B, float *p_C, float *p_D) const |
| Get the normal in camera space.
|
Friends |
class | csPolygon2D |
class | csPolyTexture |