24.03.2013 Views

Computational Geometry Convex Hull Line Segment Intersection ...

Computational Geometry Convex Hull Line Segment Intersection ...

Computational Geometry Convex Hull Line Segment Intersection ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

• Sorting – O(n log n)<br />

• During the scan each point is “visited” at most<br />

twice<br />

– Initial visit<br />

– back up visit (happens at most once)<br />

• Scan - O(n)<br />

• Total time O(n log n)<br />

• This is best possible because sorting is<br />

reducible to finding convex hull.<br />

CSE 589 - Lecture 10 - Autumn<br />

2001<br />

45

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

Saved successfully!

Ooh no, something went wrong!