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

Function EdgesAreAlmostEqual

tools/openlr/helpers.cpp:124–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124bool EdgesAreAlmostEqual(Graph::Edge const & e1, Graph::Edge const & e2)
125{
126 // TODO(mgsergio): Do I need to check fields other than points?
127 return PointsAreClose(e1.GetStartPoint(), e2.GetStartPoint()) && PointsAreClose(e1.GetEndPoint(), e2.GetEndPoint());
128}
129
130string LogAs2GisPath(Graph::EdgeVector const & path)
131{

Callers 2

GetAllSuitablePathsMethod · 0.85
GetAllSuitablePathsMethod · 0.85

Calls 3

PointsAreCloseFunction · 0.85
GetStartPointMethod · 0.45
GetEndPointMethod · 0.45

Tested by

no test coverage detected