MCPcopy Create free account
hub / github.com/comaps/comaps / GetGeometry

Method GetGeometry

libs/map/track.cpp:210–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210kml::MultiGeometry::LineT Track::GetGeometry() const
211{
212 kml::MultiGeometry::LineT geometry;
213 for (auto const & line : m_data.m_geometry.m_lines)
214 for (size_t i = 0; i < line.size(); ++i)
215 geometry.emplace_back(line[i]);
216 return geometry;
217}
218
219TrackStatistics Track::GetStatistics() const
220{

Callers 4

UNIT_CLASS_TESTFunction · 0.45
GetSpeedLimitMethod · 0.45

Calls 2

sizeMethod · 0.45
emplace_backMethod · 0.45

Tested by 1

UNIT_CLASS_TESTFunction · 0.36