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

Function AllAllowed

libs/routing_common/pedestrian_model.cpp:94–100  ·  view source on GitHub ↗

Same as defaults except bridleway and cycleway are allowed.

Source from the content-addressed store, hash-verified

92
93// Same as defaults except bridleway and cycleway are allowed.
94VehicleModel::LimitsInitList AllAllowed()
95{
96 auto res = kDefaultOptions;
97 res.push_back({HighwayType::HighwayBridleway, true});
98 res.push_back({HighwayType::HighwayCycleway, true});
99 return res;
100}
101
102// Same as defaults except trunk and trunk link are not allowed.
103VehicleModel::LimitsInitList NoTrunk()

Callers 2

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected