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

Function IsHighway

libs/routing/turns_generator_utils.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19using namespace ftypes;
20
21bool IsHighway(HighwayClass hwClass, bool isLink)
22{
23 return (hwClass == HighwayClass::Motorway || hwClass == HighwayClass::Trunk || hwClass == HighwayClass::Primary) &&
24 !isLink;
25}
26
27bool IsSmallRoad(HighwayClass hwClass)
28{

Callers 1

TryToGetExitDirectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected