| 28 | } |
| 29 | |
| 30 | PointD GetPointOnSurface(vector<PointD> const & points) |
| 31 | { |
| 32 | ASSERT(!points.empty() && points.size() % 3 == 0, ("points.size() =", points.size())); |
| 33 | auto const boundingBox = GetBoundingBox(points); |
| 34 | return m2::ApplyCalculator(points, m2::CalculatePointOnSurface(boundingBox)); |
| 35 | } |
| 36 | |
| 37 | bool PointsAlmostEqual(PointD const & p1, PointD const & p2) |
| 38 | { |
no test coverage detected