Package com.solibri.geometry.algorithms
Class MinimumAreaRectangle
java.lang.Object
com.solibri.geometry.algorithms.MinimumAreaRectangle
Provides a method for computing the oriented minimum area rectangle of a collection of points.
- Since:
- 9.10.2
-
Method Summary
Modifier and TypeMethodDescriptionstatic MRectangle2d
of
(Collection<? extends Vector2d> points) Returns the minimum area oriented rectangle that surrounds the given collection of points.
-
Method Details
-
of
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
-