[routing] In decoder mode, snap to segment endpoints (no partial segments)

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-11-11 00:56:48 +02:00
parent 5c2cedb19a
commit 8fcf00b0ca
12 changed files with 80 additions and 29 deletions

View File

@@ -247,8 +247,8 @@ private:
static bool IsFencedOff(m2::PointD const & point, EdgeProjectionT const & edgeProjection,
std::vector<RoadInfoT> const & fences);
static void RoadsToNearestEdges(m2::PointD const & point, std::vector<RoadInfoT> const & roads,
IsEdgeProjGood const & isGood, std::vector<EdgeProjectionT> & edgeProj);
void RoadsToNearestEdges(m2::PointD const & point, std::vector<RoadInfoT> const & roads,
IsEdgeProjGood const & isGood, std::vector<EdgeProjectionT> & edgeProj);
Segment GetSegmentByEdge(Edge const & edge) const;