GEOS 3.9.1
Boundable.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
15#ifndef GEOS_INDEX_STRTREE_BOUNDABLE_H
16#define GEOS_INDEX_STRTREE_BOUNDABLE_H
17
18#include <geos/export.h>
19
20namespace geos {
21namespace index { // geos::index
22namespace strtree { // geos::index::strtree
23
25class GEOS_DLL Boundable {
26public:
40 virtual const void* getBounds() const = 0;
41
42 virtual bool isLeaf() const = 0;
43 virtual ~Boundable() {}
44};
45
46
47} // namespace geos::index::strtree
48} // namespace geos::index
49} // namespace geos
50
51#endif // GEOS_INDEX_STRTREE_BOUNDABLE_H
A spatial object in an AbstractSTRtree.
Definition: Boundable.h:25
virtual const void * getBounds() const =0
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26