|
| | Grid (double cs) |
| |
| size_t | size () |
| |
| std::vector< std::pair< Vec, std::vector< O > > > & | getOrderedVec () |
| |
| std::unordered_map< Vec, size_t > & | getUnorderedMap () |
| |
| double | getCellSize () const |
| |
| const std::vector< std::pair< Vec, std::vector< O > > > & | getContent () const |
| |
| std::array< vector< vector< O > >, 8 > | getThreadSafeGrid () const |
| |
| std::array< vector< vector< O > >, 8 > | getThreadSafeGrid (size_t minEl) const |
| |
| size_t | vecToColor (const Vec &v) const |
| |
| template<typename V > |
| void | insert (V &&k, const O &o) |
| |
| void | insertOnlyCenter (const O &obj) |
| |
| void | insert (const O &obj) |
| |
| void | insertPrecise (const O &obj) |
| |
| void | insert (const O &obj, const Vec &p0, const Vec &p1, const Vec &p2) |
| |
| Vec | getIndexFromPosition (const Vec &v) const |
| |
| vector< O > | retrieve (const Vec ¢er, double radius) const |
| |
| vector< O > | retrieve (const O &obj) const |
| |
| double | computeSurface () const |
| |
| double | getVolume () const |
| |
| double | computeSphericity () const |
| |
| int | getNbNeighbours (const Vec &cell) const |
| |
| void | clear () |
| |
template<typename O>
class MecaCell::Grid< O >
Infinite grid of fixed cell size for space partitioning.
- Template Parameters
-
| O | the type of object that are stored |
Definition at line 21 of file grid.hpp.