next up previous
Next: Implementation Up: Graham's Algorithm Previous: Issues

Degeneracies

Graham's algorithm needs to deal with many degeneracies in the input.

Collinearities: More than 3 points are collinear

  1. Notion of strict left turn (if no collinearities are wanted)
  2. Sorting Collinearities: based on angles. If two or more points subtend the same angle, we sort them based on edge lengths.


Dinesh Manocha
Tue Feb 17 23:44:05 EST 1998