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

Method TrackStatistics

libs/map/track_statistics.cpp:20–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18} // namespace
19
20TrackStatistics::TrackStatistics()
21 : m_length(0)
22 , m_duration(0)
23 , m_ascent(0)
24 , m_descent(0)
25 , m_minElevation(geometry::kDefaultAltitudeMeters)
26 , m_maxElevation(geometry::kDefaultAltitudeMeters)
27 , m_previousPoint(kInvalidPoint)
28 , m_previousTimestamp(kInvalidTimestamp)
29{}
30
31TrackStatistics::TrackStatistics(kml::MultiGeometry const & geometry) : TrackStatistics()
32{

Callers

nothing calls this directly

Calls 4

ASSERTFunction · 0.85
HasTimestampsMethod · 0.80
HasTimestampsForMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected