PLANE Class Reference

#include <PLANE.h>

Collaboration diagram for PLANE:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PLANE ()
 PLANE (VECTOR3D newNormal, float newIntercept)
 PLANE (const PLANE &rhs)
 ~PLANE ()
void SetNormal (const VECTOR3D &rhs)
void SetIntercept (float newIntercept)
void SetFromPoints (const VECTOR3D &p0, const VECTOR3D &p1, const VECTOR3D &p2)
void CalculateIntercept (const VECTOR3D &pointOnPlane)
void Normalize (void)
VECTOR3D GetNormal ()
float GetIntercept ()
bool Intersect3 (const PLANE &p2, const PLANE &p3, VECTOR3D &result)
float GetDistance (const VECTOR3D &point) const
int ClassifyPoint (const VECTOR3D &point) const
PLANE lerp (const PLANE &p2, float factor)
bool operator== (const PLANE &rhs) const
bool operator!= (const PLANE &rhs) const
PLANE operator- (void) const
PLANE operator+ (void) const

Public Attributes

VECTOR3D normal
float intercept


Constructor & Destructor Documentation

PLANE::PLANE (  )  [inline]

PLANE::PLANE ( VECTOR3D  newNormal,
float  newIntercept 
) [inline]

PLANE::PLANE ( const PLANE rhs  )  [inline]

PLANE::~PLANE (  )  [inline]


Member Function Documentation

void PLANE::SetNormal ( const VECTOR3D rhs  )  [inline]

void PLANE::SetIntercept ( float  newIntercept  )  [inline]

void PLANE::SetFromPoints ( const VECTOR3D p0,
const VECTOR3D p1,
const VECTOR3D p2 
)

Here is the call graph for this function:

void PLANE::CalculateIntercept ( const VECTOR3D pointOnPlane  )  [inline]

Here is the call graph for this function:

void PLANE::Normalize ( void   ) 

Here is the call graph for this function:

VECTOR3D PLANE::GetNormal (  )  [inline]

float PLANE::GetIntercept (  )  [inline]

bool PLANE::Intersect3 ( const PLANE p2,
const PLANE p3,
VECTOR3D result 
)

Here is the call graph for this function:

float PLANE::GetDistance ( const VECTOR3D point  )  const

int PLANE::ClassifyPoint ( const VECTOR3D point  )  const

PLANE PLANE::lerp ( const PLANE p2,
float  factor 
)

Here is the call graph for this function:

bool PLANE::operator== ( const PLANE rhs  )  const

bool PLANE::operator!= ( const PLANE rhs  )  const [inline]

PLANE PLANE::operator- ( void   )  const [inline]

Here is the call graph for this function:

PLANE PLANE::operator+ ( void   )  const [inline]


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Thu Mar 19 19:35:32 2009 for CubicVR by  doxygen 1.5.6