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

Method GetStartEdge

tools/openlr/candidate_paths_getter.cpp:41–48  ·  view source on GitHub ↗

CandidatePathsGetter::Link ----------------------------------------------------------------------

Source from the content-addressed store, hash-verified

39
40// CandidatePathsGetter::Link ----------------------------------------------------------------------
41Graph::Edge CandidatePathsGetter::Link::GetStartEdge() const
42{
43 auto * start = this;
44 while (start->m_parent)
45 start = start->m_parent.get();
46
47 return start->m_edge;
48}
49
50bool CandidatePathsGetter::Link::IsPointOnPath(geometry::PointWithAltitude const & point) const
51{

Callers 1

GetBestCandidatePathsMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected