GEOS
3.9.1dev
|
#include <GeometryItemDistance.h>
Public Member Functions | |
double | distance (const ItemBoundable *item1, const ItemBoundable *item2) override |
Definition at line 28 of file GeometryItemDistance.h.
|
overridevirtual |
Computes the distance between two Geometry items, using the Geometry#distance(Geometry) method.
item1 | an item which is a Geometry |
item2 | an item which is a Geometry |
ClassCastException | if either item is not a Geometry |
Implements geos::index::strtree::ItemDistance.