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
Boundable object |
Point3d |
nearestPoint()
Returns the last computed nearest point, in local coordinates.
|
void |
reset()
Reset any internal `nearest' cache so calculator can be re-used
|
void reset()
double nearestDistance(BVNode node)
node
- node to check distance tonode
double nearestDistance(Boundable e)
nearestObject()
and nearestDistance()
e
- element for which distance is to be computede
Boundable nearestObject()
Boundable
objectdouble nearestDistance()
Point3d nearestPoint()