UNIVERS
15.3
UNIVERS base processing software API
|
#include <u3d_grid_cell.hpp>
Classes | |
union | content |
Public Member Functions | |
U3dGridCell (unsigned cellId, unsigned char bodiesNum, unsigned char depth, U3dGridCell *parent, int surfId, int stPBodyId, int bodyId) | |
U3dGridCell (unsigned cellId, unsigned char bodiesNum, unsigned char depth, U3dGridCell *parent, int surfId, int stPBodyId, int bodyId) | |
Public Attributes | |
unsigned | m_ID |
U3dBox | m_Box |
unsigned char | m_numBodies |
unsigned char | m_Depth |
U3dGridCell * | m_Parent |
int | m_surfaceId |
int | m_startPointBodyId |
union U3dGridCell::content | m_cellContent |
3d model grid cell structure
U3dBox U3dGridCell::m_Box |
Cell bounding box.
unsigned char U3dGridCell::m_Depth |
Number of parents above. Depth in other words.
unsigned char U3dGridCell::m_numBodies |
Number of bodies in this grid cell. INPORTANT: =0 if the cell was divided.
U3dGridCell * U3dGridCell::m_Parent |
Pointer to parent grid cell or NULL in case of root.
int U3dGridCell::m_startPointBodyId |
Identidier of the body, which contains (minX, minY, minZ) vertex of the cell
int U3dGridCell::m_surfaceId |
Identifier of the surface that crosses this cell