| 12 | } |
| 13 | |
| 14 | void WorldGraph::GetTwins(Segment const & segment, bool isOutgoing, bool useRoutingOptions, SegmentEdgeListT & edges) |
| 15 | { |
| 16 | std::vector<Segment> twins; |
| 17 | GetTwinsInner(segment, isOutgoing, twins); |
| 18 | |
| 19 | CHECK_NOT_EQUAL(GetMode(), WorldGraphMode::LeapsOnly, ()); |
| 20 | |
| 21 | auto prevMode = GetMode(); |
| 22 | SetMode(WorldGraphMode::SingleMwm); |
| 23 | |
| 24 | for (Segment const & twin : twins) |
| 25 | GetEdgeList(twin, isOutgoing, useRoutingOptions, edges); |
| 26 | |
| 27 | SetMode(prevMode); |
| 28 | } |
| 29 | |
| 30 | RoutingOptions WorldGraph::GetRoutingOptions(Segment const & /* segment */) |
| 31 | { |
no outgoing calls
no test coverage detected