mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-06 04:24:29 +00:00
[routing] OSM tag based time and turn penalties
Signed-off-by: Henry Sternberg <dev@bluelightmaps.com> Co-Authored-By: eisa01 <eisa01@gmail.com> Co-Authored-By: x7z4w <x7z4w@noreply.codeberg.org> Co-Authored-By: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "geometry/latlon.hpp"
|
||||
#include "geometry/point3d.hpp"
|
||||
|
||||
// namespace ms - "math on sphere", similar to namespace m2.
|
||||
namespace ms
|
||||
@@ -14,4 +15,5 @@ double DistanceOnSphere(double lat1Deg, double lon1Deg, double lat2Deg, double l
|
||||
// lat1, lat2, lon1, lon2 - in degrees.
|
||||
double DistanceOnEarth(double lat1Deg, double lon1Deg, double lat2Deg, double lon2Deg);
|
||||
double DistanceOnEarth(LatLon const & ll1, LatLon const & ll2);
|
||||
m3::Point<double> ToVector(LatLon const & ll);
|
||||
} // namespace ms
|
||||
|
||||
Reference in New Issue
Block a user