Interface KdNode.IKdValueFetcher
-
- All Known Implementing Classes:
KdNode.KdValueFetcherX,KdNode.KdValueFetcherY
- Enclosing class:
- KdNode
protected static interface KdNode.IKdValueFetcherInterface for hyperplane coordinate value fetchers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Comparator<ISpaceObject>getComparator()Returns a comparator for sorting within the current hyperplane.doublegetValue(IVector2 point)Returns the coordinate value of the current hyperplane.KdNode.IKdValueFetchernextFetcher()Returns the fetcher for the next hyperplane in the tree.
-
-
-
Method Detail
-
getValue
double getValue(IVector2 point)
Returns the coordinate value of the current hyperplane.- Parameters:
point- The input value.- Returns:
- Coordinate value of the current hyperplane.
-
nextFetcher
KdNode.IKdValueFetcher nextFetcher()
Returns the fetcher for the next hyperplane in the tree.- Returns:
- Fetcher for the next hyperplane in the tree.
-
getComparator
java.util.Comparator<ISpaceObject> getComparator()
Returns a comparator for sorting within the current hyperplane.- Returns:
- Comparator for sorting within the current hyperplane.
-
-