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