15 #ifndef GEOS_IDX_BINTREE_NODE_H
16 #define GEOS_IDX_BINTREE_NODE_H
18 #include <geos/export.h>
19 #include <geos/index/bintree/NodeBase.h>
35 class GEOS_DLL Node:
public NodeBase {
39 static Node* createNode(Interval* itemInterval);
41 static Node* createExpanded(Node* node, Interval* addInterval);
43 Node(Interval* newInterval,
int newLevel);
47 Interval* getInterval();
49 Node* getNode(Interval* searchInterval);
51 NodeBase* find(Interval* searchInterval);
53 void insert(Node* node);
63 Node* getSubnode(
int index);
65 Node* createSubnode(
int index);
69 bool isSearchMatch(Interval* itemInterval)
override;
76 #endif // GEOS_IDX_BINTREE_NODE_H