Package com.solibri.geometry.algorithms
Class ConvexHull
java.lang.Object
com.solibri.geometry.algorithms.ConvexHull
Provides methods for computing the convex hull of different geometrical shapes.
- Since:
- 9.10.2
-
Method Summary
Modifier and TypeMethodDescriptionstatic MPolygon2d
Returns the convex hull of the given polygon.static MPolygon2d
of(Collection<? extends Vector2d> points)
Returns the convex hull of the given collection of points.
-
Method Details
-
of
Returns the convex hull of the given collection of points.- Parameters:
points
- the points for which the convex hull is computed- Returns:
- the convex hull of the given collection of points
- Since:
- 9.10.2
-
of
Returns the convex hull of the given polygon.- Parameters:
polygon
- the polygon for which the convex hull is computed- Returns:
- the convex hull of the given polygon
- Since:
- 9.10.2
-