public static interface RTree.Boxer
RTree.Boxed
.Modifier and Type | Method and Description |
---|---|
void |
getBounds(java.lang.Object object,
float[] min,
float[] max)
Gets the min/max coordinates for the specified object.
|
float |
getDistanceSquared(java.lang.Object object,
float[] point)
Gets the distance squared from the specified object to a point.
|
void getBounds(java.lang.Object object, float[] min, float[] max)
object
- the object for which to compute bounds.min
- array to contain min coordinates.max
- array to contain max coordinates.java.lang.ClassCastException
- if this boxer cannot get bounds
for the type of object specified.float getDistanceSquared(java.lang.Object object, float[] point)
object
- the object for which to compute distance squared.point
- array of N point coordinates.