|
| grid (Idx dim=20) |
|
| grid (Idx dimx, Idx dimy, Idx dimz) |
|
void | clear () |
|
bool | is_empty () const |
|
void | set_dim (Cnt dim) |
|
void | set_dim (Cnt dimx, Cnt dimy, Cnt dimz) |
|
void | set_box (const Pnt &_min_pnt, const Pnt &_max_pnt) |
|
template<typename Func > |
void | compute_box (Idx nr_points, const Func &pnts) |
|
template<typename Func > |
void | build (Idx nr_points, const Func &pnts) |
| before calling the build function, ensure that the bounding box has been set with set_box or computed with compute_box
|
|
Idx | get_size () const |
|
template<typename Jdx > |
Idx | get_index (Jdx *ci) const |
|
Idx | get_index (const Pnt &p) const |
|
template<typename Jdx > |
void | split_index (Idx idx, Jdx *ci) const |
|
void | put_grid_cell (Idx idx, const Pnt &_min_pnt, const Pnt &_max_pnt) const |
|
void | insert (const Pnt &p, Idx i) |
|
void | add_neighbors (Idx pi, const Pnt &p, Idx ci, const Func &pnts, vector< Idx > &N) const |
|
template<typename Func > |
void | extract_neighbors (Idx i, const Func &pnts, vector< Idx > &N) const |
|
template<typename Pnt, typename Idx = int>
class cgv::data::grid< Pnt, Idx >
Definition at line 8 of file grid.h.