| 77 | |
| 78 | template <> |
| 79 | string ToString<m2::AnyRectD>(m2::AnyRectD const & rect) |
| 80 | { |
| 81 | std::ostringstream out; |
| 82 | out.precision(12); |
| 83 | m2::PointD glbZero(rect.GlobalZero()); |
| 84 | out << glbZero.x << " " << glbZero.y << " "; |
| 85 | out << rect.Angle().val() << " "; |
| 86 | m2::RectD const & r = rect.GetLocalRect(); |
| 87 | out << r.minX() << " " << r.minY() << " " << r.maxX() << " " << r.maxY(); |
| 88 | return out.str(); |
| 89 | } |
| 90 | |
| 91 | template <> |
| 92 | bool FromString<m2::AnyRectD>(string const & str, m2::AnyRectD & rect) |
nothing calls this directly
no test coverage detected