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

Function PointToGxString

libs/kml/serdes_common.cpp:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35std::string PointToGxString(geometry::PointWithAltitude const & pt)
36{
37 char constexpr kSeparator = ' ';
38 if (pt.GetAltitude() != geometry::kInvalidAltitude)
39 return PointToString(pt.GetPoint(), kSeparator) + kSeparator + strings::to_string(pt.GetAltitude());
40 return PointToString(pt.GetPoint(), kSeparator);
41}
42
43void SaveStringWithCDATA(Writer & writer, std::string s)
44{

Callers 1

SaveGxTracksFunction · 0.85

Calls 4

PointToStringFunction · 0.85
to_stringFunction · 0.85
GetAltitudeMethod · 0.45
GetPointMethod · 0.45

Tested by

no test coverage detected