Template Class SpatialHash
Defined in File spatial_hash.h
Class Documentation
-
template<typename BlockDataT, int dim>
class SpatialHash -
Public Functions
-
bool hasBlock(const BlockIndex &block_index) const
-
bool eraseBlock(const BlockIndex &block_index)
-
template<typename IndexedBlockVisitor>
void eraseBlockIf(IndexedBlockVisitor indicator_fn)
-
BlockData *getBlock(const BlockIndex &block_index)
-
const BlockData *getBlock(const BlockIndex &block_index) const
-
template<typename ...DefaultArgs>
BlockData &getOrAllocateBlock(const BlockIndex &block_index, DefaultArgs&&... args)
-
template<typename IndexedBlockVisitor>
void forEachBlock(IndexedBlockVisitor visitor_fn)
-
template<typename IndexedBlockVisitor>
void forEachBlock(IndexedBlockVisitor visitor_fn) const
Public Static Attributes
-
static constexpr IndexElement kDim = dim
-
bool hasBlock(const BlockIndex &block_index) const