Expand description
Compute the ordering among edges. This is used to keep sweep events in the right ordering in the scan line.
Functions
- Compare two edges. Returns
Lessif the starting point ofsecondis belowfirstandGreaterif it is above. If the starting point ofsecondlies on the edgefirstthen the end point is used to break the tie. - Compute the ordering of two sweep events. This is used to keep the sweep events sorted in the scan line.