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

Method SetOrigin

libs/kml/serdes.cpp:698–705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

696}
697
698void KmlParser::SetOrigin(std::string const & s)
699{
700 m_geometryType = GEOMETRY_TYPE_POINT;
701
702 m2::PointD pt;
703 if (ParsePoint(s, ", \n\r\t", pt))
704 m_org = pt;
705}
706
707void KmlParser::ParseAndAddPoints(MultiGeometry::LineT & line, std::string_view s, char const * blockSeparator,
708 char const * coordSeparator)

Callers

nothing calls this directly

Calls 1

ParsePointFunction · 0.70

Tested by

no test coverage detected