cz.cuni.jagrlib.piece
Class PolygonScanline.EdgeComparator

java.lang.Object
  extended by cz.cuni.jagrlib.piece.PolygonScanline.EdgeComparator
All Implemented Interfaces:
Comparator<PolygonScanline.PolyEdge>
Enclosing class:
PolygonScanline

protected static class PolygonScanline.EdgeComparator
extends Object
implements Comparator<PolygonScanline.PolyEdge>

Edge comparator for actual edge list: [ x ].


Constructor Summary
protected PolygonScanline.EdgeComparator()
           
 
Method Summary
 int compare(PolygonScanline.PolyEdge a, PolygonScanline.PolyEdge b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

PolygonScanline.EdgeComparator

protected PolygonScanline.EdgeComparator()
Method Detail

compare

public int compare(PolygonScanline.PolyEdge a,
                   PolygonScanline.PolyEdge b)
Specified by:
compare in interface Comparator<PolygonScanline.PolyEdge>