| 627 | } |
| 628 | |
| 629 | void MakeStopEndings(std::vector<::transit::experimental::Stop> const & stops, NumMwmId mwmId, IndexGraph & indexGraph, |
| 630 | TransitGraph::Endings & stopEndings) |
| 631 | { |
| 632 | for (auto const & stop : stops) |
| 633 | { |
| 634 | for (auto const & stopSegment : stop.GetBestPedestrianSegments()) |
| 635 | { |
| 636 | Segment const real(mwmId, stopSegment.GetFeatureId(), stopSegment.GetSegmentIdx(), stopSegment.IsForward()); |
| 637 | stopEndings.emplace(stop.GetId(), MakeFakeEnding(real, stop.GetPoint(), indexGraph)); |
| 638 | } |
| 639 | } |
| 640 | } |
| 641 | } // namespace routing |
no test coverage detected