ags.utils.dataStructures.trees.secondGenKD
Class KdTree.ChildNode
java.lang.Object
ags.utils.dataStructures.trees.secondGenKD.KdTree<T>
ags.utils.dataStructures.trees.secondGenKD.KdTree.ChildNode
- Enclosing class:
- KdTree<T>
private class KdTree.ChildNode
- extends KdTree<T>
Internal class for child nodes
Method Summary |
protected double |
pointDist(double[] p1,
double[] p2)
|
protected double |
pointRegionDist(double[] point,
double[] min,
double[] max)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KdTree.ChildNode
private KdTree.ChildNode(KdTree<T> parent,
boolean right)
pointDist
protected double pointDist(double[] p1,
double[] p2)
- Specified by:
pointDist
in class KdTree<T>
pointRegionDist
protected double pointRegionDist(double[] point,
double[] min,
double[] max)
- Specified by:
pointRegionDist
in class KdTree<T>