K3dCutEdge Class Reference

#include <K3dCutEdge.h>

Inheritance diagram for K3dCutEdge:

K3dCutPoly List of all members.

Public Member Functions

 K3dCutEdge (K3dGameData *_pGameData)
 ~K3dCutEdge ()
K3dLineObjCutEdge (K3dLineObj *_pEdge, K3dPlaneObj *_pPlane)
 Cut edge by plane and return new edge.

Private Attributes

K3dGameDatam_pGameData
 Global game data, data centered game system.
K3dIntersectionm_pIntersection
 Pointer to intersection calculation.

Detailed Description

Definition at line 40 of file K3dCutEdge.h.


Constructor & Destructor Documentation

K3dCutEdge::K3dCutEdge ( K3dGameData _pGameData  ) 

Definition at line 34 of file K3dCutEdge.cpp.

References K3dSceneData::GetIntersection(), m_pGameData, and m_pIntersection.

K3dCutEdge::~K3dCutEdge (  ) 

Definition at line 40 of file K3dCutEdge.cpp.


Member Function Documentation

K3dLineObj * K3dCutEdge::CutEdge ( K3dLineObj _pEdge,
K3dPlaneObj _pPlane 
)

Cut edge by plane and return new edge.

Parameters:
_pEdge Input edge. After cutting this edge will be front of plane edge
_pPlane Cutting plane
Return values:
K3dLineObj* Returns new back of plane edge or returns NULL if doesn`t edge plane intersection

Definition at line 48 of file K3dCutEdge.cpp.

References K3dLineBuild::CreateNewLineObj(), K3dRay::GetDirection(), K3dIntrLinePlane::GetIntrPoint(), K3dSceneData::GetLineBuild(), K3dRay::GetOrigin(), K3dIntrLinePlane::LinePlane(), m_pGameData, m_pIntersection, and K3dDistance::PointPlane().

Referenced by K3dCutPoly::Cut().


Member Data Documentation

K3dGameData* K3dCutEdge::m_pGameData [private]

Global game data, data centered game system.

Reimplemented in K3dCutPoly.

Definition at line 42 of file K3dCutEdge.h.

Referenced by CutEdge(), and K3dCutEdge().

K3dIntersection* K3dCutEdge::m_pIntersection [private]

Pointer to intersection calculation.

Reimplemented in K3dCutPoly.

Definition at line 43 of file K3dCutEdge.h.

Referenced by CutEdge(), and K3dCutEdge().


The documentation for this class was generated from the following files:
Generated on Thu Aug 16 23:53:31 2007 for K3dEngine by  doxygen 1.5.0