- All Known Subinterfaces:
ConvexHullGenerator2D
- All Known Implementing Classes:
MonotoneChain
Interface for convex hull generators.
- Since:
- 3.3
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionConvexHull
<S, P> generate
(Collection<P> points) Builds the convex hull from the set of input points.
-
Method Details
-
generate
Builds the convex hull from the set of input points.- Parameters:
points
- the set of input points- Returns:
- the convex hull
- Throws:
NullArgumentException
- if the input collection isnull
ConvergenceException
- if generator fails to generate a convex hull for the given set of input points
-