| 258 | } |
| 259 | |
| 260 | double Area(m2::RectD const & rect) |
| 261 | { |
| 262 | return rect.IsValid() ? rect.SizeX() * rect.SizeY() : 0; |
| 263 | } |
| 264 | |
| 265 | /// @brief Computes the average similarity between |rect| and |pivot|. |
| 266 | /// By similarity between two rects we mean a fraction of the area of |
no test coverage detected