| 169 | } |
| 170 | |
| 171 | RoutePointIndex GetLastIngoingPointIndex(TUnpackedPathSegments const & segments, size_t const outgoingSegmentIndex) |
| 172 | { |
| 173 | ASSERT_GREATER(outgoingSegmentIndex, 0, ()); |
| 174 | ASSERT(segments[outgoingSegmentIndex - 1].IsValid(), ()); |
| 175 | return RoutePointIndex( |
| 176 | {outgoingSegmentIndex - 1, segments[outgoingSegmentIndex - 1].m_path.size() - 1 /* m_pathIndex */}); |
| 177 | } |
| 178 | |
| 179 | m2::PointD GetPointByIndex(TUnpackedPathSegments const & segments, RoutePointIndex const & index) |
| 180 | { |
no test coverage detected