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

Function CalcDiffRoadClasses

libs/routing/turns_generator_utils.cpp:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33int CalcDiffRoadClasses(HighwayClass const left, HighwayClass const right)
34{
35 return static_cast<int>(left) - static_cast<int>(right);
36}
37
38template <class T>
39T FindDirectionByAngle(std::vector<std::pair<double, T>> const & lowerBounds, double const angle)

Calls

no outgoing calls

Tested by

no test coverage detected