GEOS 3.6.2
ItemBoundable.h
1/**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2006 Refractions Research Inc.
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#ifndef GEOS_INDEX_STRTREE_ITEMBOUNDABLE_H
15#define GEOS_INDEX_STRTREE_ITEMBOUNDABLE_H
16
17#include <geos/export.h>
18
19#include <geos/index/strtree/Boundable.h> // for inheritance
20
21namespace geos {
22namespace index { // geos::index
23namespace strtree { // geos::index::strtree
24
32class GEOS_DLL ItemBoundable: public Boundable
33{
34public:
35
36 ItemBoundable(const void* newBounds, void* newItem);
37 virtual ~ItemBoundable();
38
39 const void* getBounds() const;
40 void* getItem() const;
41
42private:
43
44 const void* bounds;
45 void* item;
46};
47
48} // namespace geos::index::strtree
49} // namespace geos::index
50} // namespace geos
51
52#endif // GEOS_INDEX_STRTREE_ITEMBOUNDABLE_H
A spatial object in an AbstractSTRtree.
Definition Boundable.h:25
Contains 2-D and 1-D versions of the Sort-Tile-Recursive (STR) tree, a query-only R-tree.
Definition SIRtreePointInRing.h:32
Provides classes for various kinds of spatial indexes.
Definition IndexedNestedRingTester.h:31
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25