6 #include "u3d_grid_cell.hpp"
16 enum U3D_CELL_TOPOLOGY
77 void recursivePrintCell(
const U3dGridCell* initCell);
106 static unsigned m_maxCellID;
129 void recursiveFillEmptyCellsList(
U3dGridCell *cell, U3dGridCellsArray &cell_ar);
132 void recursiveFindBodyCell(
U3dGridCell* cell,
int bodyId, U3dGridCellsArray &cell_ar);
135 void recursiveFindBoundCell(
U3dGridCell* cell,
int boundId, U3dGridCellsArray &cell_ar);
138 void recursiveFindColumnBoundCell(
U3dGridCell* cell,
U3dPoint p,
int boundId, U3dGridCellsArray &cell_ar)
const;
153 m_Root =
new U3dBox(p1, p2);
157 U3dBox* getModelBox()
const {
return m_Root; };
158 U3dGrid* getGrid() {
return m_Grid; };
bool getReady()
Definition: u3d_grid.hpp:97
void setReady(bool ready)
Definition: u3d_grid.hpp:100
Definition: u3d_box.hpp:24
void divideCell(U3dGridCell *cell)
Definition: geometry.H:16
void mergeSubCells(U3dGridCell *cell)
U3dGridCellsArray getEmptyCellsList()
U3dGridCellsArray getColumnBoundCellsList(U3dPoint p, int boundId) const
Definition: u3d_point.hpp:16
void updateMaxCellId(int cellId)
Definition: u3d_grid.hpp:72
U3dGridCell * getRoot()
Definition: u3d_grid.hpp:60
U3dGrid(const U3dBox *modelBox)
U3dGridCellsArray getBoundCellsList(int boundId)
Definition: u3d_grid.hpp:25
Definition: u3d_grid_cell.hpp:32
U3dGridCellsArray getBodyCellsList(int bodyId)
U3dGridCell * m_Root
Definition: u3d_grid.hpp:104
const U3dGridCell * findCell(U3dPoint point)
bool getCommonCells(U3dGridCellsArray *common_cells, U3dBox *surfBox, U3dGridCell *root)