Interface ConvexHullGenerator2D
- All Superinterfaces:
ConvexHullGenerator<Euclidean2D,
Vector2D>
- All Known Implementing Classes:
MonotoneChain
Interface for convex hull generators in the two-dimensional euclidean space.
-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(Collection<Vector2D> points) Builds the convex hull from the set of input points.
-
Method Details
-
generate
Builds the convex hull from the set of input points.- Specified by:
generate
in interfaceConvexHullGenerator<Euclidean2D,
Vector2D> - Parameters:
points
- the set of input points- Returns:
- the convex hull
- Throws:
MathIllegalStateException
- if generator fails to generate a convex hull for the given set of input points
-