[traffic] Calculate DNP from nominal distance, if available and plausible

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-05-17 23:47:23 +03:00
parent 5b67d668bd
commit 63f0799161
2 changed files with 35 additions and 11 deletions

View File

@@ -423,7 +423,7 @@ using TraffFeed = std::vector<TraffMessage>;
* @param p2 The second point.
* @return The approximate distance on the ground, in meters.
*/
uint32_t GuessDnp(openlr::LocationReferencePoint & p1, openlr::LocationReferencePoint & p2);
uint32_t GuessDnp(Point & p1, Point & p2);
/**
* @brief Merges the contents of one `MultiMwmColoring` into another.