MCPcopy Create free account
hub / github.com/comaps/comaps / RectD>

Method RectD>

libs/platform/settings.cpp:108–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106
107template <>
108string ToString<m2::RectD>(m2::RectD const & rect)
109{
110 std::ostringstream stream;
111 stream.precision(12);
112 stream << rect.minX() << " " << rect.minY() << " " << rect.maxX() << " " << rect.maxY();
113 return stream.str();
114}
115template <>
116bool FromString<m2::RectD>(string const & str, m2::RectD & rect)
117{

Callers

nothing calls this directly

Calls 6

FromStringArrayFunction · 0.85
minXMethod · 0.80
minYMethod · 0.80
maxXMethod · 0.80
maxYMethod · 0.80
IsValidMethod · 0.45

Tested by

no test coverage detected