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

Method ToString

libs/kml/pykmlib/bindings.cpp:149–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 }
148
149 static std::string ToString(geometry::PointWithAltitude const & ptWithAlt)
150 {
151 auto const latLon = mercator::ToLatLon(ptWithAlt.GetPoint());
152 std::ostringstream out;
153 out << "["
154 << "point:" << LatLonToString(latLon) << ", "
155 << "altitude:" << ptWithAlt.GetAltitude() << "]";
156 return out.str();
157 }
158};
159
160struct PropertiesAdapter

Callers

nothing calls this directly

Calls 4

LatLonToStringFunction · 0.70
ToLatLonFunction · 0.50
GetPointMethod · 0.45
GetAltitudeMethod · 0.45

Tested by

no test coverage detected