Hammer a handful of nails into a wooden board, then snap a rubber band around the whole bunch and let go. The band pulls tight, touching only the outermost nails and ignoring everything in the middle. The shape it forms is the convex hull — the smallest convex polygon that contains every point.
"Convex" just means the outline never caves inward: pick any two points inside, and the straight line between them stays inside. The hull is the tightest such boundary you can draw around your cloud of points.
It sounds like a craft project, but it's one of the foundational questions of computational geometry. And unlike many problems on this site, this one has a happy ending — we know how to solve it fast, and we know exactly how fast is even possible.
Comments
Loading comments...