org.jzy3d.plot3d.rendering.ordering
Class PointOrderingStrategy

java.lang.Object
  extended by org.jzy3d.plot3d.rendering.ordering.PointOrderingStrategy
All Implemented Interfaces:
java.util.Comparator<Coord3d>

public class PointOrderingStrategy
extends java.lang.Object
implements java.util.Comparator<Coord3d>


Constructor Summary
PointOrderingStrategy()
           
 
Method Summary
 int compare(Coord3d o1, Coord3d o2)
           
 void sort(java.util.List<Coord3d> points, Camera cam)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

PointOrderingStrategy

public PointOrderingStrategy()
Method Detail

sort

public void sort(java.util.List<Coord3d> points,
                 Camera cam)

compare

public int compare(Coord3d o1,
                   Coord3d o2)
Specified by:
compare in interface java.util.Comparator<Coord3d>