Template Function voxblox::getGridIndexFromPoint(const Point&)

Function Documentation

template <typename IndexType>
IndexType voxblox::getGridIndexFromPoint(const Point &scaled_point)

NOTE: Due the limited accuracy of the FloatingPoint type, this function doesn’t always compute the correct grid index for coordinates near the grid cell boundaries.