MCPcopy Create free account
hub / github.com/comaps/comaps / GetBestOutgoingEdges

Method GetBestOutgoingEdges

libs/routing/index_router.cpp:386–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384}
385
386bool IndexRouter::GetBestOutgoingEdges(m2::PointD const & checkpoint, WorldGraph & graph, std::vector<Edge> & edges)
387{
388 bool dummy = false;
389 PointsOnEdgesSnapping snapping(*this, graph);
390 return snapping.FindBestEdges(checkpoint, m2::PointD::Zero() /* startDirection */, true /* isOutgoing */,
391 FeaturesRoadGraph::kClosestEdgesRadiusM, edges, dummy);
392}
393
394void IndexRouter::AppendPartsOfReal(LatLonWithAltitude const & point1, LatLonWithAltitude const & point2,
395 uint32_t & startIdx, ConnectionToOsm & link)

Callers 2

GetBestPedestrianEdgesFunction · 0.80

Calls 2

ZeroFunction · 0.85
FindBestEdgesMethod · 0.80

Tested by

no test coverage detected