18.04.2013 Views

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Convex Hull<br />

Next: Triangulation Up: Computational Geometry Previous: Robust Geometric Primitives<br />

Convex Hull<br />

Input description: A set S of n points in d-dimensional space.<br />

Problem description: Find the smallest convex polygon containing all the points of S.<br />

Discussion: Finding the convex hull of a set of points is the most elementary interesting problem in<br />

computational geometry, just as minimum spanning tree is the most elementary interesting problem in<br />

graph algorithms. It arises because the hull quickly captures a rough idea of the shape or extent of a data<br />

set.<br />

Convex hull also serves as a first preprocessing step to many, if not most, geometric algorithms. For<br />

example, consider the problem of finding the diameter of a set of points, which is the pair of points a<br />

maximum distance apart. <strong>The</strong> diameter will always be the distance between two points on the convex<br />

hull. <strong>The</strong> algorithm for computing diameter proceeds by first constructing the convex hull, then<br />

for each hull vertex finding which other hull vertex is farthest away from it. This so-called ``rotatingcalipers''<br />

method can be used to move efficiently from one hull vertex to another.<br />

<strong>The</strong>re are almost as many convex hull algorithms as there are sorting algorithms. Answer the following<br />

questions to help choose between them:<br />

file:///E|/BOOK/BOOK4/NODE185.HTM (1 of 5) [19/1/2003 1:31:37]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!