| 63 | } |
| 64 | |
| 65 | double AbsAreaDiff(std::vector<m2::PointD> const & firstPolygon, std::vector<m2::PointD> const & secondPolygon) |
| 66 | { |
| 67 | auto const firstArea = generator::AreaOnEarth(firstPolygon); |
| 68 | auto const secondArea = generator::AreaOnEarth(secondPolygon); |
| 69 | return std::abs(secondArea - firstArea); |
| 70 | } |
| 71 | |
| 72 | bool NeedReplace(std::vector<m2::PointD> const & curSubpolygon, std::vector<m2::PointD> const & anotherSubpolygon) |
| 73 | { |
no test coverage detected