| 184 | } |
| 185 | |
| 186 | void Track::ForEachGeometry(GeometryFnT && fn) const |
| 187 | { |
| 188 | for (auto const & line : m_data.m_geometry.m_lines) |
| 189 | { |
| 190 | std::vector<m2::PointD> points; |
| 191 | points.reserve(line.size()); |
| 192 | for (auto const & pt : line) |
| 193 | points.push_back(pt.GetPoint()); |
| 194 | |
| 195 | fn(std::move(points)); |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | void Track::Attach(kml::MarkGroupId groupId) |
| 200 | { |
no test coverage detected