GEOS 3.6.2
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#ifndef GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H
17#define GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H
18
19
20#include <geos/index/intervalrtree/IntervalRTreeNode.h> // inherited
21
22
23// forward declarations
24namespace geos {
25 namespace index {
26 class ItemVisitor;
27 }
28}
29
30
31namespace geos {
32namespace index {
33namespace intervalrtree {
34
35class IntervalRTreeLeafNode : public IntervalRTreeNode
36{
37private:
39 void * item;
40
41protected:
42public:
43
45 IntervalRTreeLeafNode( double min, double max, void * item)
46 : IntervalRTreeNode( min, max),
47 item( item)
48 { }
49
50 ~IntervalRTreeLeafNode()
51 {
52 }
53
54 void query( double queryMin, double queryMax, index::ItemVisitor * visitor) const;
55
56};
57
58} // geos::intervalrtree
59} // geos::index
60} // geos
61
62#endif // GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H
A visitor for items in an index.
Definition ItemVisitor.h:29
Provides classes for various kinds of spatial indexes.
Definition IndexedNestedRingTester.h:31
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25