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