GEOS
3.14.0dev
|
A function method which computes the distance between two ItemBoundables in an STRtree. Used for Nearest Neighbour searches. More...
#include <ItemDistance.h>
Inherited by geos::index::strtree::GeometryItemDistance.
Public Member Functions | |
virtual double | distance (const ItemBoundable *item1, const ItemBoundable *item2)=0 |
Computes the distance between two items. More... | |
A function method which computes the distance between two ItemBoundables in an STRtree. Used for Nearest Neighbour searches.
|
pure virtual |
Computes the distance between two items.
item1 | |
item2 |
IllegalArgumentException | if the metric is not applicable to the arguments |