Package com.solibri.geometry.algorithms
Class MinimumAreaRectangle
- java.lang.Object
-
- com.solibri.geometry.algorithms.MinimumAreaRectangle
-
public final class MinimumAreaRectangle extends Object
Provides a method for computing the oriented minimum area rectangle of a collection of points.- Since:
- 9.10.2
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MRectangle2d
of(Collection<? extends Vector2d> points)
Returns the minimum area oriented rectangle that surrounds the given collection of points.
-
-
-
Method Detail
-
of
public static MRectangle2d of(Collection<? extends Vector2d> points)
Returns the minimum area oriented rectangle that surrounds the given collection of points. The result is not guaranteed to be optimal.- Parameters:
points
- the points for which the rectangle is computed- Returns:
- the minimum area oriented rectangle that surrounds the given collection of points
- Since:
- 9.10.2
-
-