31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

16.15 3D Convex Hull Algorithms ( d3 hull )<br />

void CONVEX HULL(const list& L, GRAPH & H)<br />

CONVEX HULL takes as argument a list of points and returns the<br />

(planar embedded) surface graph H of the convex hull of L. <strong>The</strong><br />

algorithm is based on an incremental space sweep. <strong>The</strong> running<br />

time is O(n 2 ) in the worst case and O(n log n) for most inputs.<br />

bool CHECK HULL(const GRAPH & H)<br />

a checker for convex hulls.<br />

void CONVEX HULL(const list& L, GRAPH & H)<br />

a floating point version of CONVEX HULL.<br />

bool CHECK HULL(const GRAPH & H)<br />

a checker for floating-point convex hulls.

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

Saved successfully!

Ooh no, something went wrong!