GEOS
3.6.2
|
00001 /********************************************************************** 00002 * 00003 * GEOS - Geometry Engine Open Source 00004 * http://geos.osgeo.org 00005 * 00006 * Copyright (C) 2016 Daniel Baston 00007 * 00008 * This is free software; you can redistribute and/or modify it under 00009 * the terms of the GNU Lesser General Public Licence as published 00010 * by the Free Software Foundation. 00011 * See the COPYING file for more information. 00012 * 00013 ********************************************************************** 00014 * 00015 * Last port: index/strtree/GeometryItemDistance.java (JTS-1.14) 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