18#include <geos/index/intervalrtree/IntervalRTreeNode.h>
19#include <geos/index/intervalrtree/IntervalRTreeBranchNode.h>
20#include <geos/index/intervalrtree/IntervalRTreeLeafNode.h>
21#include <geos/util/UnsupportedOperationException.h>
32namespace intervalrtree {
53 std::vector<IntervalRTreeLeafNode> leaves;
54 std::vector<IntervalRTreeBranchNode> branches;
62 const IntervalRTreeNode* root =
nullptr;
66 void buildLevel(IntervalRTreeNode::ConstVect& src, IntervalRTreeNode::ConstVect& dest);
67 const IntervalRTreeNode* buildTree();
75 leaves.reserve(initialCapacity);
87 void insert(
double min,
double max,
void* item) {
92 leaves.emplace_back(min, max, item);
A visitor for items in an index.
Definition ItemVisitor.h:28
A static index on a set of 1-dimensional intervals, using an R-Tree packed based on the order of the ...
Definition SortedPackedIntervalRTree.h:51
void query(double min, double max, index::ItemVisitor *visitor)
void insert(double min, double max, void *item)
Definition SortedPackedIntervalRTree.h:87
Indicates that the requested operation is unsupported.
Definition UnsupportedOperationException.h:35
Basic namespace for all GEOS functionalities.
Definition geos.h:39