| 163 | namespace routing |
| 164 | { |
| 165 | std::vector<m2::PointD> GetPoints(openlr::Path const & p) |
| 166 | { |
| 167 | CHECK(!p.empty(), ("Path should not be empty")); |
| 168 | std::vector<m2::PointD> points; |
| 169 | points.push_back(GetStart(p.front())); |
| 170 | for (auto const & e : p) |
| 171 | points.push_back(GetEnd(e)); |
| 172 | |
| 173 | return points; |
| 174 | } |
| 175 | } // namespace routing |