15 #ifndef GEOS_IDX_BINTREE_NODEBASE_H
16 #define GEOS_IDX_BINTREE_NODEBASE_H
18 #include <geos/export.h>
40 static int getSubnodeIndex(
Interval *interval,
double centre);
46 virtual std::vector<void*> *getItems();
48 virtual void add(
void* item);
50 virtual std::vector<void*>* addAllItems(std::vector<void*> *newItems);
52 virtual std::vector<void*>* addAllItemsFromOverlapping(
Interval *interval,
53 std::vector<void*> *resultItems);
59 virtual int nodeSize();
63 std::vector<void*>* items;
72 virtual bool isSearchMatch(
Interval *interval)=0;
79 #endif // GEOS_IDX_BINTREE_NODEBASE_H
Represents an (1-dimensional) closed interval on the Real number line.
Definition: bintree/Interval.h:25
The base class for nodes in a Bintree.
Definition: bintree/NodeBase.h:36
A node of a Bintree.
Definition: index/bintree/Node.h:35