Namespace muda::spatial_hash
Namespace List > muda > spatial_hash
Namespaces
Type | Name |
---|---|
namespace | details |
Classes
Type | Name |
---|---|
class | AABB |
class | BoundingSphere |
class | CollisionPair |
class | DefaultPredication |
class | Morton <typename T> |
class | Morton< uint32_t > <> |
class | Morton< uint64_t > <> |
class | SparseSpatialHash <typename Hash> |
class | SpatialHashTableInfo <typename Hash> |
class | SpatialPartitionCell To represent a cell-object pair in the spatial hash 3D grid e.g. (cell_id,object_id) = (1024, 32) for the meaning: the 32th object overlap with the 1024th cell. |
Public Functions
Type | Name |
---|---|
MUDA_INLINE MUDA_GENERIC float | distance (const Eigen::Vector3f & p, AABB b) |
MUDA_INLINE MUDA_GENERIC bool | intersect (const BoundingSphere & s, const AABB & b) |
MUDA_INLINE MUDA_GENERIC bool | intersect (const BoundingSphere & lhs, const BoundingSphere & rhs) |
MUDA_INLINE MUDA_GENERIC bool | intersect (const AABB & l, const AABB & r) |
MUDA_INLINE MUDA_GENERIC float | squared_distance (const Eigen::Vector3f & p, AABB b) |
Public Functions Documentation
function distance
function intersect
MUDA_INLINE MUDA_GENERIC bool muda::spatial_hash::intersect (
const BoundingSphere & s,
const AABB & b
)
function intersect
MUDA_INLINE MUDA_GENERIC bool muda::spatial_hash::intersect (
const BoundingSphere & lhs,
const BoundingSphere & rhs
)
function intersect
function squared_distance
MUDA_INLINE MUDA_GENERIC float muda::spatial_hash::squared_distance (
const Eigen::Vector3f & p,
AABB b
)
The documentation for this class was generated from the following file src/muda/ext/geo/spatial_hash/bounding_volume.h