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

Method ResetPoint

libs/kml/serdes_gpx.cpp:60–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void GpxParser::ResetPoint()
61{
62 m_name.clear();
63 m_description.clear();
64 m_comment.clear();
65 m_org = {};
66 m_predefinedColor = PredefinedColor::None;
67 m_color = kInvalidColor;
68 m_customName.clear();
69 m_geometry.Clear();
70 m_geometryType = GEOMETRY_TYPE_UNKNOWN;
71 m_lat = 0.;
72 m_lon = 0.;
73 m_altitude = geometry::kInvalidAltitude;
74 m_timestamp = base::INVALID_TIME_STAMP;
75}
76
77bool GpxParser::MakeValid()
78{

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected