Interface ConvexHull<S extends Space,P extends Point<S,P>,H extends Hyperplane<S,P,H,I>,I extends SubHyperplane<S,P,H,I>>

Type Parameters:
S - Space type.
P - Point type.
H - Type of the hyperplane.
I - Type of the sub-hyperplane.
All Superinterfaces:
Serializable
All Known Implementing Classes:
ConvexHull2D

public interface ConvexHull<S extends Space,P extends Point<S,P>,H extends Hyperplane<S,P,H,I>,I extends SubHyperplane<S,P,H,I>> extends Serializable
This class represents a convex hull.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Returns a new region that is enclosed by the convex hull.
    P[]
    Get the vertices of the convex hull.
  • Method Details Link icon

    • getVertices Link icon

      P[] getVertices()
      Get the vertices of the convex hull.
      Returns:
      vertices of the convex hull
    • createRegion Link icon

      Region<S,P,H,I> createRegion() throws MathIllegalArgumentException
      Returns a new region that is enclosed by the convex hull.
      Returns:
      the region enclosed by the convex hull
      Throws:
      MathIllegalArgumentException - if the number of vertices is not enough to build a region in the respective space