GEOS 3.13.1
GeometryItemDistance.h
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#pragma once
20
21#include <geos/geom/Geometry.h>
22#include <geos/index/strtree/ItemDistance.h>
23
24namespace geos {
25namespace index {
26namespace strtree {
27class GEOS_DLL GeometryItemDistance : public ItemDistance {
28public:
38 double distance(const ItemBoundable* item1, const ItemBoundable* item2) override;
39};
40
41}
42}
43}
44
A function method which computes the distance between two ItemBoundables in an STRtree....
Definition ItemDistance.h:33
Contains 2-D and 1-D versions of the Sort-Tile-Recursive (STR) tree, a query-only R-tree.
Definition AbstractNode.h:31
Provides classes for various kinds of spatial indexes.
Definition DiscreteFrechetDistance.h:50
Basic namespace for all GEOS functionalities.
Definition geos.h:39