I'm not sure what you mean by polyhedron. It's not a 3-dimensional shape, which a polyhedron is by definition
And no, the points were not ordered to begin with -- they were taken from an image which had no extra information other than (X,Y) pairs of points, and an associated color for each point.
I did look at the module Math::ConvexHull, but determined it didn't do what I needed because if I go with the convex polygon defined for the set of points, it adds more to the shape than necessary, and eats into neighboring shapes to which the algorithm will also eventually be applied.
substr+lc crypt(qw $i3 SI$),4,5