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

Function DifferenceInDeg

tools/openlr/score_candidate_paths_getter.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49double DifferenceInDeg(double a1, double a2)
50{
51 auto const diff = 180.0 - abs(abs(a1 - a2) - 180.0);
52 CHECK(0.0 <= diff && diff <= 180.0, (diff));
53 return diff;
54}
55
56void EdgeSortUniqueByStartAndEndPoints(Graph::EdgeListT & edges)
57{

Callers 1

GetBearingScoreMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected