Template Class spatial_hash< Tuple< Types… >, std::enable_if_t< (std::is_arithmetic_v< Types >, &&…), void > >
Defined in File spatial_hash.hpp
Class Documentation
-
template<template<class...> class Tuple, class ...Types>
class spatial_hash<Tuple<Types...>, std::enable_if_t<(std::is_arithmetic_v<Types> && ...), void>> Specialization for tuples.
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 tuple to be hashed, with matching indices. I.e: std::get<0>(tuple) will be hashed with resolution[0].
-
inline explicit spatial_hash(const resolution_in_each_axis_t &resolution)