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

Function IsSmallRoad

libs/routing/turns_generator_utils.cpp:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27bool IsSmallRoad(HighwayClass hwClass)
28{
29 return hwClass == HighwayClass::LivingStreet || hwClass == HighwayClass::Service ||
30 hwClass == HighwayClass::ServiceMinor || hwClass == HighwayClass::Pedestrian;
31}
32
33int CalcDiffRoadClasses(HighwayClass const left, HighwayClass const right)
34{

Callers 1

TryToGetExitDirectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected