Spatial hash function: hash an AABB to a set of integer values. More...
#include <broadphase_spatialhash.h>
Public Member Functions | |
std::vector< unsigned int > | operator() (const AABB &aabb) const |
SpatialHash (const AABB &scene_limit_, FCL_REAL cell_size_) | |
Private Attributes | |
FCL_REAL | cell_size |
AABB | scene_limit |
unsigned int | width [3] |
Spatial hash function: hash an AABB to a set of integer values.
Definition at line 50 of file broadphase_spatialhash.h.
fcl::SpatialHash::SpatialHash | ( | const AABB & | scene_limit_, |
FCL_REAL | cell_size_ | ||
) | [inline] |
Definition at line 52 of file broadphase_spatialhash.h.
std::vector<unsigned int> fcl::SpatialHash::operator() | ( | const AABB & | aabb | ) | const [inline] |
Definition at line 60 of file broadphase_spatialhash.h.
FCL_REAL fcl::SpatialHash::cell_size [private] |
Definition at line 86 of file broadphase_spatialhash.h.
AABB fcl::SpatialHash::scene_limit [private] |
Definition at line 87 of file broadphase_spatialhash.h.
unsigned int fcl::SpatialHash::width[3] [private] |
Definition at line 88 of file broadphase_spatialhash.h.