org.xith3d.utility.comparator
Class PointComparator

java.lang.Object
  extended by org.xith3d.utility.comparator.PointComparator
All Implemented Interfaces:
java.util.Comparator<org.openmali.vecmath2.Tuple3f>

public class PointComparator
extends java.lang.Object
implements java.util.Comparator<org.openmali.vecmath2.Tuple3f>


Constructor Summary
PointComparator()
           
 
Method Summary
 int compare(org.openmali.vecmath2.Tuple3f o1, org.openmali.vecmath2.Tuple3f o2)
           
static int comparePoints(org.openmali.vecmath2.Tuple3f p1, org.openmali.vecmath2.Tuple3f p2)
           
static int comparePoints(org.openmali.vecmath2.Tuple3f p1, org.openmali.vecmath2.Tuple3f p2, float epsilon)
           
 
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

PointComparator

public PointComparator()
Method Detail

comparePoints

public static int comparePoints(org.openmali.vecmath2.Tuple3f p1,
                                org.openmali.vecmath2.Tuple3f p2)

comparePoints

public static int comparePoints(org.openmali.vecmath2.Tuple3f p1,
                                org.openmali.vecmath2.Tuple3f p2,
                                float epsilon)

compare

public int compare(org.openmali.vecmath2.Tuple3f o1,
                   org.openmali.vecmath2.Tuple3f o2)
Specified by:
compare in interface java.util.Comparator<org.openmali.vecmath2.Tuple3f>