GEOS  3.9.1dev
GeometryItemDistance.h
Go to the documentation of this file.
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2016 Daniel Baston
7  *
8  * This is free software; you can redistribute and/or modify it under
9  * the terms of the GNU Lesser General Public Licence as published
10  * by the Free Software Foundation.
11  * See the COPYING file for more information.
12  *
13  **********************************************************************
14  *
15  * Last port: index/strtree/GeometryItemDistance.java (JTS-1.14)
16  *
17  **********************************************************************/
18 
19 #ifndef GEOS_INDEX_STRTREE_GEOMETRYITEMDISTANCE_H
20 #define GEOS_INDEX_STRTREE_GEOMETRYITEMDISTANCE_H
21 
22 #include <geos/geom/Geometry.h>
24 
25 namespace geos {
26 namespace index {
27 namespace strtree {
29 public:
39  double distance(const ItemBoundable* item1, const ItemBoundable* item2) override;
40 };
41 }
42 }
43 }
44 
45 #endif //GEOS_GEOMETRYITEMDISTANCE_H
#define GEOS_DLL
Definition: export.h:28
Boundable wrapper for a non-Boundable spatial object. Used internally by AbstractSTRtree.
Definition: ItemBoundable.h:32
A function method which computes the distance between two ItemBoundables in an STRtree. Used for Nearest Neighbour searches.
Definition: ItemDistance.h:34
Basic namespace for all GEOS functionalities.