protected static class KdNode.KdValueFetcherY extends java.lang.Object implements KdNode.IKdValueFetcher
| Modifier and Type | Field and Description | 
|---|---|
| protected static java.util.Comparator | COMPARATORStatic comparator to avoid instantiation overhead | 
| static KdNode.KdValueFetcherY | FETCHERStatic fetcher to avoid instantiation overhead | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | KdValueFetcherY() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Comparator<ISpaceObject> | getComparator()Returns a comparator for sorting within the current hyperplane. | 
| double | getValue(IVector2 point)Returns the coordinate value of the current hyperplane. | 
| KdNode.IKdValueFetcher | nextFetcher()Returns the fetcher for the next hyperplane in the tree. | 
public static final KdNode.KdValueFetcherY FETCHER
protected static final java.util.Comparator COMPARATOR
public double getValue(IVector2 point)
getValue in interface KdNode.IKdValueFetcherpoint - The input value.public KdNode.IKdValueFetcher nextFetcher()
nextFetcher in interface KdNode.IKdValueFetcherpublic java.util.Comparator<ISpaceObject> getComparator()
getComparator in interface KdNode.IKdValueFetcher