6 #include "u3d_grid_cell.hpp"
7 #include <u3d_message.hpp>
16 enum U3D_CELL_TOPOLOGY
77 void recursivePrintCell(
const U3dGridCell* initCell);
104 static unsigned m_maxCellID;
127 void recursiveFillEmptyCellsList(
U3dGridCell *cell, U3dGridCellsArray &cell_ar);
130 void recursiveFindBodyCell(
U3dGridCell* cell,
int bodyId, U3dGridCellsArray &cell_ar);
133 void recursiveFindBoundCell(
U3dGridCell* cell,
int boundId, U3dGridCellsArray &cell_ar);
136 void recursiveFindColumnBoundCell(
U3dGridCell* cell,
U3dPoint p,
int boundId, U3dGridCellsArray &cell_ar)
const;
151 m_Root =
new U3dBox(p1, p2);
155 U3dBox* getModelBox()
const {
return m_Root; };
156 U3dGrid* getGrid() {
return m_Grid; };
bool getReady()
Definition: u3d_grid.hpp:95
void setReady(bool ready)
Definition: u3d_grid.hpp:98
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)