Finding the convex hull of line intersections in O(n log n) time

The convex hull of line intersections can be found in O(n log n) time by:

Dr. Mikhail Atallah's 1986 description and proof of the algorithm can be found here.

Demo Applet

The demo applet allows you to step though the algorithm using the Graham Scan to compute the convex hull. The applet ensures that all of the line intersections occur within the applet view.

Valid HTML 4.01 Transitional