osrm-backend/include/util/hilbert_value.hpp
2016-04-05 22:58:32 +02:00

19 lines
311 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 Coordinate coordinate);
}
}
#endif /* HILBERT_VALUE_HPP */