Interface ConvexHullGenerator2D
-
- All Superinterfaces:
ConvexHullGenerator<Euclidean2D,Vector2D,Line,SubLine>
- All Known Implementing Classes:
MonotoneChain
public interface ConvexHullGenerator2D extends ConvexHullGenerator<Euclidean2D,Vector2D,Line,SubLine>
Interface for convex hull generators in the two-dimensional euclidean space.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConvexHull2Dgenerate(Collection<Vector2D> points)Builds the convex hull from the set of input points.
-
-
-
Method Detail
-
generate
ConvexHull2D generate(Collection<Vector2D> points) throws MathIllegalStateException
Builds the convex hull from the set of input points.- Specified by:
generatein interfaceConvexHullGenerator<Euclidean2D,Vector2D,Line,SubLine>- 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
-
-