00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef GEOS_INDEX_STRTREE_GEOMETRYITEMDISTANCE_H
00020 #define GEOS_INDEX_STRTREE_GEOMETRYITEMDISTANCE_H
00021
00022 #include <geos/geom/Geometry.h>
00023 #include <geos/index/strtree/ItemDistance.h>
00024
00025 namespace geos {
00026 namespace index {
00027 namespace strtree {
00028 class GEOS_DLL GeometryItemDistance : public ItemDistance {
00029 public:
00039 double distance(const ItemBoundable* item1, const ItemBoundable* item2);
00040 };
00041 }
00042 }
00043 }
00044
00045 #endif //GEOS_GEOMETRYITEMDISTANCE_H