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

Function EdgeLength

tools/openlr/helpers.cpp:119–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119double EdgeLength(Graph::Edge const & e)
120{
121 return mercator::DistanceOnEarth(e.GetStartPoint(), e.GetEndPoint());
122}
123
124bool EdgesAreAlmostEqual(Graph::Edge const & e1, Graph::Edge const & e2)
125{

Callers 11

ValidatePathFunction · 0.85
FindShortestPathMethod · 0.85
GetAllSuitablePathsMethod · 0.85
GetAllSuitablePathsMethod · 0.85
ExpandFakeFunction · 0.85
CutOffsetFunction · 0.85
DecodeSegmentMethod · 0.85
DecodeSegmentMethod · 0.85
ValidatePathByLengthFunction · 0.85
FindShortestPathMethod · 0.85
GetEndPointMethod · 0.85

Calls 3

DistanceOnEarthFunction · 0.50
GetStartPointMethod · 0.45
GetEndPointMethod · 0.45

Tested by

no test coverage detected