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