GEOS 3.14.0dev
IntervalRTreeLeafNode.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
16#pragma once
17
18#include <geos/index/intervalrtree/IntervalRTreeNode.h> // inherited
19
20
21// forward declarations
22namespace geos {
23namespace index {
24class ItemVisitor;
25}
26}
27
28
29namespace geos {
30namespace index {
31namespace intervalrtree {
32
33class IntervalRTreeLeafNode : public IntervalRTreeNode {
34private:
36 void* item;
37
38protected:
39public:
40
42 IntervalRTreeLeafNode(double p_min, double p_max, void* p_item)
43 : IntervalRTreeNode(p_min, p_max),
44 item(p_item)
45 { }
46
47 ~IntervalRTreeLeafNode() override
48 {
49 }
50
51 void query(double queryMin, double queryMax, index::ItemVisitor* visitor) const override;
52
53};
54
55} // geos::intervalrtree
56} // geos::index
57} // geos
58
Basic namespace for all GEOS functionalities.
Definition geos.h:39