osrm-backend/include/util/hilbert_value.hpp

19 lines
311 B
C++
Raw Normal View History

#ifndef HILBERT_VALUE_HPP
#define HILBERT_VALUE_HPP
#include "osrm/coordinate.hpp"
#include <cstdint>
2016-01-05 10:51:13 -05:00
namespace osrm
{
namespace util
{
// Computes a 64 bit value that corresponds to the hilbert space filling curve
std::uint64_t hilbertCode(const Coordinate coordinate);
2016-01-05 10:51:13 -05:00
}
}
#endif /* HILBERT_VALUE_HPP */