Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
CPlane Class Reference

#include <Plane.h>

Public Member Functions

 CPlane ()
 
 CPlane (const CVector4D &coeffs)
 
void Set (const CVector3D &p1, const CVector3D &p2, const CVector3D &p3)
 
void Set (const CVector3D &norm, const CVector3D &point)
 
void Normalize ()
 
PLANESIDE ClassifyPoint (const CVector3D &point) const
 
float DistanceToPlane (const CVector3D &point) const
 
bool FindLineSegIntersection (const CVector3D &start, const CVector3D &end, CVector3D *intsect)
 
bool FindRayIntersection (const CVector3D &start, const CVector3D &direction, CVector3D *intsect)
 

Public Attributes

CVector3D m_Norm
 
float m_Dist
 

Detailed Description

Definition at line 38 of file Plane.h.

Constructor & Destructor Documentation

CPlane::CPlane ( )

Definition at line 30 of file Plane.cpp.

CPlane::CPlane ( const CVector4D coeffs)
inline

Definition at line 42 of file Plane.h.

Member Function Documentation

PLANESIDE CPlane::ClassifyPoint ( const CVector3D point) const

Definition at line 79 of file Plane.cpp.

float CPlane::DistanceToPlane ( const CVector3D point) const

Definition at line 99 of file Plane.cpp.

bool CPlane::FindLineSegIntersection ( const CVector3D start,
const CVector3D end,
CVector3D intsect 
)

Definition at line 113 of file Plane.cpp.

bool CPlane::FindRayIntersection ( const CVector3D start,
const CVector3D direction,
CVector3D intsect 
)

Definition at line 127 of file Plane.cpp.

void CPlane::Normalize ( )

Definition at line 65 of file Plane.cpp.

void CPlane::Set ( const CVector3D p1,
const CVector3D p2,
const CVector3D p3 
)

Definition at line 36 of file Plane.cpp.

void CPlane::Set ( const CVector3D norm,
const CVector3D point 
)

Definition at line 53 of file Plane.cpp.

Member Data Documentation

float CPlane::m_Dist

Definition at line 68 of file Plane.h.

CVector3D CPlane::m_Norm

Definition at line 67 of file Plane.h.


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