Now find the point halfway around the circle C(1/2) from the farthest point and the nearest neighbor from the point collection to that point...
Now further subdivide the circle to C(1/4) and C(3/4) and find the nearest neighbors...
Continue but here when the nearest neighbor is a point that's already been selected by one of the two blue points sudivided, the point on the circle is colored red...
And continue until there are no more adjacent blue points on the circle...
Now the points ordered clockwise are a hull, but might not be convex. .
No comments:
Post a Comment