| 186 | } |
| 187 | |
| 188 | void CrossMwmGraph::GetTwinFeature(Segment const & segment, bool isOutgoing, vector<Segment> & twins) |
| 189 | { |
| 190 | m_crossMwmIndexGraph.ForEachTransitSegmentId(segment.GetMwmId(), segment.GetFeatureId(), |
| 191 | [&](uint32_t transitSegmentId) |
| 192 | { |
| 193 | Segment const transitSegment(segment.GetMwmId(), segment.GetFeatureId(), transitSegmentId, segment.IsForward()); |
| 194 | |
| 195 | if (IsTransition(transitSegment, isOutgoing)) |
| 196 | { |
| 197 | // Get twins and exit. |
| 198 | GetTwins(transitSegment, isOutgoing, twins); |
| 199 | return true; |
| 200 | } |
| 201 | return false; |
| 202 | }); |
| 203 | } |
| 204 | |
| 205 | CrossMwmGraph::MwmStatus CrossMwmGraph::GetMwmStatus(NumMwmId numMwmId, string const & sectionName) const |
| 206 | { |
no test coverage detected