Package com.solibri.geometry.algorithms
Class ConvexHull
java.lang.Object
com.solibri.geometry.algorithms.ConvexHull
public final class ConvexHull extends Object
Provides methods for computing the convex hull of different geometrical shapes.
- Since:
- 9.10.2
-
Method Summary
Modifier and Type Method Description static MPolygon2d
of(Polygon2d polygon)
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
-