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
All Methods Static Methods Concrete Methods 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 Detail
-
of
public static MPolygon2d of(Collection<? extends Vector2d> points)
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
public static MPolygon2d of(Polygon2d polygon)
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
-
-