19 #include <geos/export.h>
20 #include <geos/index/strtree/Boundable.h>
26 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
45 std::vector<Boundable*> childBoundables;
54 AbstractNode(
int newLevel, std::size_t capacity = 10) : level(newLevel), bounds(
nullptr) {
55 childBoundables.reserve(capacity);
62 inline std::vector<Boundable*>*
65 return &childBoundables;
70 inline const std::vector<Boundable*>*
71 getChildBoundables()
const
73 return &childBoundables;
89 if(bounds ==
nullptr) {
90 bounds = computeBounds();
108 assert(bounds ==
nullptr);
109 childBoundables.push_back(childBoundable);
112 bool isLeaf()
const override {
118 virtual void* computeBounds()
const = 0;
120 mutable void* bounds;