19 lines
321 B
C++
19 lines
321 B
C++
#ifndef HILBERT_VALUE_HPP
|
|
#define HILBERT_VALUE_HPP
|
|
|
|
#include "osrm/coordinate.hpp"
|
|
|
|
#include <cstdint>
|
|
|
|
namespace osrm
|
|
{
|
|
namespace util
|
|
{
|
|
|
|
// Computes a 64 bit value that corresponds to the hilbert space filling curve
|
|
std::uint64_t hilbertCode(const FixedPointCoordinate coordinate);
|
|
}
|
|
}
|
|
|
|
#endif /* HILBERT_VALUE_HPP */
|