class csPlane A plane in 3D space
| | DD The D component of the plane. |
| | norm The normal vector (or the (A,B,C) components). |
| | A () Return the A component of this plane. |
| | B () Return the B component of this plane. |
| | C () Return the C component of this plane. |
| | Classify (float A, float B, float C, float D, const csVector3& pt) Classify a vector with regards to four plane components. |
| | Classify (const csVector3& pt) Classify the given vector with regards to this plane. |
| | csPlane (float a, float b, float c, float d=0) Initialize the plane. |
| | csPlane () Initialize to the xy plane. |
| | csPlane (const csVector3& plane_norm, float d=0) Initialize the plane. |
| | D () Return the D component of this plane. |
| | Distance (const csVector3& pt) Compute the distance from the given vector to this plane |
| | Invert () Reverses the direction of the plane while maintianing the plane itself. |
| | Normal () Return the normal vector of this plane. |
| | Normalize () Normalizes the plane equation so that 'norm' is a unit vector. |
| | Set (float a, float b, float c, float d) Set the value of the four plane components. |
A plane in 3D space. The plane is given by the equation AAx + BBy + CCz + DD = 0, Where (AA,BB,CC) is given by the vector 'norm'.
float DD
csPlane()
csPlane(const csVector3& plane_norm, float d=0)
csPlane(float a, float b, float c, float d=0)
inline csVector3& Normal()
inline float& A()
inline float& B()
inline float& C()
inline float& D()
inline void Set(float a, float b, float c, float d)
inline float Classify(const csVector3& pt)
static float Classify(float A, float B, float C, float D, const csVector3& pt)
inline float Distance(const csVector3& pt)
void Invert()
void Normalize()
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de