GEOS
3.9.1dev
|
A function method which computes the distance between two ItemBoundables in an STRtree. Used for Nearest Neighbour searches. More...
#include <ItemDistance.h>
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.
Definition at line 34 of file ItemDistance.h.
|
pure virtual |
Computes the distance between two items.
item1 | |
item2 |
IllegalArgumentException | if the metric is not applicable to the arguments |
Implemented in geos::index::strtree::GeometryItemDistance.