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