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

Method GetBestOutgoingSegments

libs/routing/index_router.cpp:374–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374std::vector<Segment> IndexRouter::GetBestOutgoingSegments(m2::PointD const & checkpoint, WorldGraph & graph)
375{
376 bool dummy = false;
377 std::vector<Segment> segments;
378
379 PointsOnEdgesSnapping snapping(*this, graph);
380 snapping.FindBestSegments(checkpoint, m2::PointD::Zero() /* startDirection */, true /* isOutgoing */, segments,
381 dummy);
382
383 return segments;
384}
385
386bool IndexRouter::GetBestOutgoingEdges(m2::PointD const & checkpoint, WorldGraph & graph, std::vector<Edge> & edges)
387{

Callers

nothing calls this directly

Calls 2

ZeroFunction · 0.85
FindBestSegmentsMethod · 0.80

Tested by

no test coverage detected