| 156 | } |
| 157 | |
| 158 | void ExpandFakes(DataSource const & dataSource, Graph & g, Graph::EdgeVector & path) |
| 159 | { |
| 160 | ASSERT(!path.empty(), ()); |
| 161 | |
| 162 | ExpandFake(path, std::begin(path), dataSource, g); |
| 163 | if (path.empty()) |
| 164 | return; |
| 165 | ExpandFake(path, std::end(path) - 1, dataSource, g); |
| 166 | } |
| 167 | |
| 168 | // Returns an iterator pointing to the first edge that should not be cut off. |
| 169 | // Offsets denote a distance in meters one should travel from the start/end of the path |
no test coverage detected