GEOS  3.6.2
ItemDistance.h
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/ItemDistance.java (JTS-1.14)
00016  *
00017  **********************************************************************/
00018 
00019 #ifndef GEOS_INDEX_STRTREE_ITEMDISTANCE_H
00020 #define GEOS_INDEX_STRTREE_ITEMDISTANCE_H
00021 
00022 #include <geos/index/strtree/ItemBoundable.h>
00023 
00024 namespace geos {
00025 namespace index {
00026 namespace strtree {
00027 class GEOS_DLL ItemDistance {
00028 public:
00038         virtual double distance(const ItemBoundable* item1, const ItemBoundable* item2) = 0;
00039 };
00040 }
00041 }
00042 }
00043 
00044 #endif //GEOS_ITEMDISTANCE_H