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

Method AddPoint

libs/map/gps_track.cpp:68–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void GpsTrack::AddPoint(location::GpsInfo const & point)
69{
70 {
71 std::lock_guard lg(m_dataGuard);
72 m_points.emplace_back(point);
73 }
74 ScheduleTask();
75}
76
77void GpsTrack::AddPoints(vector<location::GpsInfo> const & points)
78{

Callers 7

IsCloseEnoughMethod · 0.45
OnLocationUpdatedMethod · 0.45
SimplifySplineFunction · 0.45
operator()Method · 0.45
ReplaceLastCornerFunction · 0.45
AddPointAndRoundFunction · 0.45
UpdatePointsMethod · 0.45

Calls 1

emplace_backMethod · 0.45

Tested by

no test coverage detected