15 #ifndef GEOS_IDX_BINTREE_NODEBASE_H 16 #define GEOS_IDX_BINTREE_NODEBASE_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();
72 virtual bool isSearchMatch(
Interval* interval) = 0;
85 #endif // GEOS_IDX_BINTREE_NODEBASE_H Represents an (1-dimensional) closed interval on the Real number line.
The base class for nodes in a Bintree.
std::vector< void * > * items
Basic namespace for all GEOS functionalities.