| 113 | } |
| 114 | |
| 115 | m2::RectD BoundingBox(std::vector<MarkedPoint> const & points) |
| 116 | { |
| 117 | m2::RectD rect; |
| 118 | for (auto const & point : points) |
| 119 | rect.Add(point.m_point); |
| 120 | |
| 121 | return rect; |
| 122 | } |
| 123 | |
| 124 | void SwapIfNeeded(size_t & a, size_t & b) |
| 125 | { |