| 429 | } |
| 430 | |
| 431 | IndexGraph::PenaltyData IndexGraph::GetRoadPenaltyData(Segment const & segment) const |
| 432 | { |
| 433 | auto const & road = GetRoadGeometry(segment.GetFeatureId()); |
| 434 | return {road.IsPassThroughAllowed(), road.GetRoutingOptions().Has(RoutingOptions::Road::Ferry)}; |
| 435 | } |
| 436 | |
| 437 | RouteWeight IndexGraph::GetPenalties(EdgeEstimator::Purpose purpose, Segment const & u, Segment const & v, |
| 438 | optional<RouteWeight> const & prevWeight) const |
nothing calls this directly
no test coverage detected