GEOS  3.13.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
22 namespace geos {
23 namespace index {
24 class ItemVisitor;
25 }
26 }
27 
28 
29 namespace geos {
30 namespace index {
31 namespace intervalrtree {
32 
33 class IntervalRTreeLeafNode : public IntervalRTreeNode {
34 private:
36  void* item;
37 
38 protected:
39 public:
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: Angle.h:25