IntervalRTreeLeafNode.h
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2006 Refractions Research Inc.
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence as published
* by the Free Software Foundation.
* See the COPYING file for more information.
*
*
**********************************************************************/
#pragma once
#include <geos/index/intervalrtree/IntervalRTreeNode.h> // inherited
// forward declarations
namespace geos {
namespace index {
class ItemVisitor;
}
}
namespace geos {
namespace index {
namespace intervalrtree {
class IntervalRTreeLeafNode : public IntervalRTreeNode {
private:
void* item;
protected:
public:
IntervalRTreeLeafNode(double p_min, double p_max, void* p_item)
: IntervalRTreeNode(p_min, p_max),
item(p_item)
{ }
~IntervalRTreeLeafNode() override
{
}
void query(double queryMin, double queryMax, index::ItemVisitor* visitor) const override;
};
} // geos::intervalrtree
} // geos::index
} // geos
geos::index::ItemVisitor
A visitor for items in an index.
Definition ItemVisitor.h:28
geos::index::intervalrtree
Contains classes that implement a static index on a set of 1-dimensional intervals,...
Definition IntervalRTreeBranchNode.h:32
geos::index
Provides classes for various kinds of spatial indexes.
Definition CleanCoverage.h:39
geos
Basic namespace for all GEOS functionalities.
Definition geos.h:38