public static interface BVFeatureQuery.ObjectDistanceCalculator
| Modifier and Type | Method and Description | 
|---|---|
| double | nearestDistance()Returns the last computed nearest distance | 
| double | nearestDistance(Boundable e)Computes the nearest distance to an element within the node. | 
| double | nearestDistance(BVNode node)Computes the nearest distance to the bounding node | 
| Boundable | nearestObject()Returns the last computed nearest  Boundableobject | 
| void | reset()Reset any internal `nearest' cache so calculator can be re-used | 
void reset()
double nearestDistance(BVNode node)
node - node to check distance tonodedouble nearestDistance(Boundable e)
nearestObject() and nearestDistance()e - element for which distance is to be computedeBoundable nearestObject()
Boundable objectdouble nearestDistance()