osrm-backend/include/util/hilbert_value.hpp
2016-01-26 22:57:02 +01:00

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 */