maspack.geometry
Class KDTree.KDNode<T>

java.lang.Object
  extended by maspack.geometry.KDTree.KDNode<T>
Type Parameters:
T -
Enclosing class:
KDTree<T>

public static class KDTree.KDNode<T>
extends java.lang.Object

KD node associated with a node on a KD-Tree

Author:
Antonio

Constructor Summary
KDTree.KDNode(int k, int depth, T element)
           
 
Method Summary
 int compareTo(T val, KDComparator<T> comparator)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KDTree.KDNode

public KDTree.KDNode(int k,
                     int depth,
                     T element)
Method Detail

compareTo

public int compareTo(T val,
                     KDComparator<T> comparator)