PointHashGridUtils.hpp
Go to the documentation of this file.
static void GetNearbyKeys(const Vector< double, N > &position, double gridSpacing, const Vector< ssize_t, N > &resolution, size_t *nearbyKeys)
static size_t GetHashKeyFromBucketIndex(const Vector< ssize_t, N > &bucketIndex, const Vector< ssize_t, N > &resolution)
static Vector< ssize_t, N > GetBucketIndex(const Vector< double, N > &position, double gridSpacing)
Definition: Matrix.hpp:27
Definition: pybind11Utils.hpp:20
static std::enable_if_t< M==2, size_t > HashKey(const Vector< ssize_t, 2 > &index, const Vector< ssize_t, 2 > &resolution)
static size_t GetHashKeyFromPosition(const Vector< double, N > &position, double gridSpacing, const Vector< ssize_t, N > &resolution)
Hash grid common utilities for N-D point searchers.
Definition: PointHashGridUtils.hpp:22