"L. Spiro Engine"
|
A k-DOP is a bounding box of any number of planes. More...
#include <LSPKDop.h>
Public Member Functions | |
LSE_INLINE LSE_CALLCTOR | CKDop (LSUINT32 _ui32AllocPlanes) |
LSE_INLINE CPlane3 &LSE_CALL | operator[] (LSUINT32 _ui32I) |
LSE_INLINE const CPlane3 &LSE_CALL | operator[] (LSUINT32 _ui32I) const |
LSE_INLINE LSUINT32 LSE_CALL | TotalPlanes () const |
LSE_INLINE LSBOOL LSE_CALL | AddPlane (const CPlane3 &_pPlane) |
LSE_INLINE LSVOID LSE_CALL | Reset () |
LSE_INLINE LSVOID LSE_CALL | ResetNoDealloc () |
Protected Attributes | |
CSVectorPoD< CPlane3 > | m_pPlanes |
A k-DOP is a bounding box of any number of planes.
Class CKDop Description: A k-DOP is a bounding box of any number of planes.
LSE_INLINE LSBOOL LSE_CALL lsp::CKDop::AddPlane | ( | const CPlane3 & | _pPlane | ) |
Add a plane.
_pPlane | The plane to add. |
LSE_INLINE CPlane3 &LSE_CALL lsp::CKDop::operator[] | ( | LSUINT32 | _ui32I | ) |
Give array access.
_ui32I | The index of the plane to retrieve. |
LSE_INLINE const CPlane3 &LSE_CALL lsp::CKDop::operator[] | ( | LSUINT32 | _ui32I | ) | const |
Give array access.
_ui32I | The index of the plane to retrieve. |
LSE_INLINE LSVOID LSE_CALL lsp::CKDop::Reset | ( | ) |
Reset the list of planes. Deallocates all memory used by this class.
LSE_INLINE LSVOID LSE_CALL lsp::CKDop::ResetNoDealloc | ( | ) |
Reset the list of planes. Does not perform deallocation.
LSE_INLINE LSUINT32 LSE_CALL lsp::CKDop::TotalPlanes | ( | ) | const |
Get the total number of planes in this k-DOP.
CSVectorPoD<CPlane3> lsp::CKDop::m_pPlanes [protected] |
The dynamically growable array of planes.