Template Class spatial_hash< std::array< T, N >, std::enable_if_t< std::is_arithmetic_v< T >, void > >
Defined in File spatial_hash.hpp
Class Documentation
-
template<class T, std::size_t N>
class spatial_hash<std::array<T, N>, std::enable_if_t<std::is_arithmetic_v<T>, void>> Specialization for arrays.
Public Types
Public Functions
-
inline explicit spatial_hash(const resolution_in_each_axis_t &resolution)
Constructs a spatial hasher from an
std::array
of doubles.- Parameters:
resolution – std::array of doubles containing resolution for each index of the array to be hashed, with matching indices. I.e: array[0] will be hashed with resolution[0].
-
inline explicit spatial_hash(const resolution_in_each_axis_t &resolution)