public final class ConvexHull extends Object
Modifier and Type | Method and Description |
---|---|
static MPolygon2d |
of(Collection<? extends Vector2d> points)
Returns the convex hull of the given collection of points.
|
static MPolygon2d |
of(Polygon2d polygon)
Returns the convex hull of the given polygon.
|
public static MPolygon2d of(Collection<? extends Vector2d> points)
points
- the points for which the convex hull is computedpublic static MPolygon2d of(Polygon2d polygon)
polygon
- the polygon for which the convex hull is computedCopyright © 2019 Solibri, Inc.. All rights reserved.