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

Function IsTransit

libs/routing/edge_estimator.cpp:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57bool IsTransit(std::optional<HighwayType> type)
58{
59 return type && (type == HighwayType::RouteFerry || type == HighwayType::RouteShuttleTrain);
60}
61
62template <class CalcSpeed>
63double CalcClimbSegment(EdgeEstimator::Purpose purpose, Segment const & segment, RoadGeometry const & road,

Callers 1

CalcClimbSegmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected