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

Function PointToLineString

libs/kml/serdes_common.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27std::string PointToLineString(geometry::PointWithAltitude const & pt)
28{
29 char constexpr kSeparator = ',';
30 if (pt.GetAltitude() != geometry::kInvalidAltitude)
31 return PointToString(pt.GetPoint(), kSeparator) + kSeparator + strings::to_string(pt.GetAltitude());
32 return PointToString(pt.GetPoint(), kSeparator);
33}
34
35std::string PointToGxString(geometry::PointWithAltitude const & pt)
36{

Callers 4

SaveBookmarkDataFunction · 0.85
SaveLineStringsFunction · 0.85
MakeValidMethod · 0.85
MakeValidMethod · 0.85

Calls 4

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

Tested by

no test coverage detected