de.grogra.math.convexhull
public final class JarvisConvexHull2D extends java.lang.Object
| Constructor and Description |
|---|
JarvisConvexHull2D() |
| Modifier and Type | Method and Description |
|---|---|
static Point2d[] |
convexHull(Point2d[] points)
Computes the convex hull of a set of p as a single Polygon2D.
|
static Point2d |
getCentroid(Point2d[] p) |
public static Point2d[] convexHull(Point2d[] points)
p - set of input p