convex hull algorithm

algorithm for computing convex hull