public class AndrewConvexHull extends java.lang.Object implements ConvexHull_2
Constructor and Description |
---|
AndrewConvexHull() |
Modifier and Type | Method and Description |
---|---|
PointCloud_2 |
computeConvexHull(PointCloud_2 points)
Computation of 2D convex hull
|
java.util.ArrayList<Point_2> |
computeLowerHull(java.util.ArrayList<Point_2> sortedPoints) |
java.util.ArrayList<Point_2> |
computeUpperHull(java.util.ArrayList<Point_2> sortedPoints) |
public java.util.ArrayList<Point_2> computeUpperHull(java.util.ArrayList<Point_2> sortedPoints)
public java.util.ArrayList<Point_2> computeLowerHull(java.util.ArrayList<Point_2> sortedPoints)
public PointCloud_2 computeConvexHull(PointCloud_2 points)
ConvexHull_2
computeConvexHull
in interface ConvexHull_2
points
- the input point cloud (stored as an array list)