S
- Space type.P
- Point type.Serializable
ConvexHull2D
public interface ConvexHull<S extends Space,P extends Point<S>> extends Serializable
Modifier and Type | Method | Description |
---|---|---|
Region<S> |
createRegion() |
Returns a new region that is enclosed by the convex hull.
|
P[] |
getVertices() |
Get the vertices of the convex hull.
|
P[] getVertices()
Region<S> createRegion() throws MathIllegalArgumentException
MathIllegalArgumentException
- if the number of vertices is not enough to
build a region in the respective spaceCopyright © 2016–2018 Hipparchus.org. All rights reserved.