uk.ac.ed.computational_geometry.util
Class BSPTree.Sort
java.lang.Object
uk.ac.ed.computational_geometry.util.BSPTree.Sort
- All Implemented Interfaces:
- Comparator<javax.vecmath.Point3d>
- Enclosing class:
- BSPTree
protected class BSPTree.Sort
- extends Object
- implements Comparator<javax.vecmath.Point3d>
Method Summary |
int |
compare(javax.vecmath.Point3d point3d1,
javax.vecmath.Point3d point3d2)
|
int |
compareX(javax.vecmath.Point3d point3d1,
javax.vecmath.Point3d point3d2)
|
int |
compareY(javax.vecmath.Point3d point3d1,
javax.vecmath.Point3d point3d2)
|
int |
compareZ(javax.vecmath.Point3d point3d1,
javax.vecmath.Point3d point3d2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
plane
protected BSPTree.Plane plane
BSPTree.Sort
public BSPTree.Sort(BSPTree.Plane plane)
compare
public int compare(javax.vecmath.Point3d point3d1,
javax.vecmath.Point3d point3d2)
- Specified by:
compare
in interface Comparator<javax.vecmath.Point3d>
compareX
public int compareX(javax.vecmath.Point3d point3d1,
javax.vecmath.Point3d point3d2)
compareY
public int compareY(javax.vecmath.Point3d point3d1,
javax.vecmath.Point3d point3d2)
compareZ
public int compareZ(javax.vecmath.Point3d point3d1,
javax.vecmath.Point3d point3d2)