public interface ItemDistance
ItemBoundables in an
STRtree. Used for Nearest Neighbour searches.
| Modifier and Type | Method and Description |
|---|---|
double |
distance(ItemBoundable
Computes the distance between two items.
|
double distance(ItemBoundableitem1, ItemBoundable item2)
item1 -
item2 -
IllegalArgumentException - if the metric is not applicable to the arguments