Package org.djutils.draw.line
Interface ConvexHullTest.ConvexHullImplementation
-
- Enclosing class:
- ConvexHullTest
static interface ConvexHullTest.ConvexHullImplementationWrapper for any convex hull implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Polygon2drun(List<Point2d> points)Run a particular implementation of the convex hull algorithm.
-
-
-
Method Detail
-
run
Polygon2d run(List<Point2d> points) throws NullPointerException, DrawRuntimeException
Run a particular implementation of the convex hull algorithm.- Parameters:
points- List<Point2d>; the points for which the convex hull must be constructed- Returns:
- Polygon2d; the convex hull of the points
- Throws:
NullPointerException- when list is nullDrawRuntimeException- when list is empty
-
-