Class muda::spatial_hash::SpatialHashTableInfo
template <typename Hash>
ClassList > muda > spatial_hash > SpatialHashTableInfo
Public Attributes
Type | Name |
---|---|
Float | cell_size = = 0.0f |
Vector3 | coord_min = = Vector3::Zero() |
Public Functions
Type | Name |
---|---|
MUDA_GENERIC | SpatialHashTableInfo () = default |
MUDA_GENERIC | SpatialHashTableInfo (Float cell_size, const Vector3 & coord_min) |
MUDA_GENERIC Vector3u | cell (const Vector3 & xyz) const |
MUDA_GENERIC Vector3 | cell_center_coord (const Vector3u & ijk) const |
MUDA_GENERIC Vector3 | coord (const Vector3u & ijk) const |
MUDA_GENERIC U32 | hash_cell (const Vector3 & xyz) const |
MUDA_GENERIC U32 | hash_cell (const Vector3u & ijk) const |
Public Attributes Documentation
variable cell_size
variable coord_min
Public Functions Documentation
function SpatialHashTableInfo [1/2]
function SpatialHashTableInfo [2/2]
inline MUDA_GENERIC muda::spatial_hash::SpatialHashTableInfo::SpatialHashTableInfo (
Float cell_size,
const Vector3 & coord_min
)
function cell
inline MUDA_GENERIC Vector3u muda::spatial_hash::SpatialHashTableInfo::cell (
const Vector3 & xyz
) const
function cell_center_coord
inline MUDA_GENERIC Vector3 muda::spatial_hash::SpatialHashTableInfo::cell_center_coord (
const Vector3u & ijk
) const
function coord
inline MUDA_GENERIC Vector3 muda::spatial_hash::SpatialHashTableInfo::coord (
const Vector3u & ijk
) const
function hash_cell [1/2]
inline MUDA_GENERIC U32 muda::spatial_hash::SpatialHashTableInfo::hash_cell (
const Vector3 & xyz
) const
function hash_cell [2/2]
inline MUDA_GENERIC U32 muda::spatial_hash::SpatialHashTableInfo::hash_cell (
const Vector3u & ijk
) const
The documentation for this class was generated from the following file src/muda/ext/geo/spatial_hash/sparse_spatial_hash_impl.h