Public Member Functions | Private Attributes | List of all members
hpp::fcl::detail::SpatialHash Struct Reference

Spatial hash function: hash an AABB to a set of integer values. More...

#include <spatial_hash.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]
 

Detailed Description

Spatial hash function: hash an AABB to a set of integer values.

Definition at line 50 of file spatial_hash.h.

Constructor & Destructor Documentation

◆ SpatialHash()

hpp::fcl::detail::SpatialHash::SpatialHash ( const AABB scene_limit_,
FCL_REAL  cell_size_ 
)

Definition at line 49 of file spatial_hash-inl.h.

Member Function Documentation

◆ operator()()

std::vector< unsigned int > hpp::fcl::detail::SpatialHash::operator() ( const AABB aabb) const

Definition at line 57 of file spatial_hash-inl.h.

Member Data Documentation

◆ cell_size

FCL_REAL hpp::fcl::detail::SpatialHash::cell_size
private

Definition at line 56 of file spatial_hash.h.

◆ scene_limit

AABB hpp::fcl::detail::SpatialHash::scene_limit
private

Definition at line 57 of file spatial_hash.h.

◆ width

unsigned int hpp::fcl::detail::SpatialHash::width[3]
private

Definition at line 58 of file spatial_hash.h.


The documentation for this struct was generated from the following files:


hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:17