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

Method FindSegment

libs/routing/fake_graph.cpp:120–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120bool FakeGraph::FindSegment(FakeVertex const & vertex, Segment & segment) const
121{
122 auto const it = m_vertexToSegment.find(vertex);
123 if (it == m_vertexToSegment.end())
124 return false;
125
126 segment = it->second;
127 return true;
128}
129
130void FakeGraph::ConnectLoopToGuideSegments(FakeVertex const & loop, Segment const & guidesSegment,
131 LatLonWithAltitude const & guidesSegmentFrom,

Callers 2

AddEndingMethod · 0.45
ConnectToGuidesGraphMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected