18 #include <geos/export.h>
19 #include <geos/geom/Envelope.h>
20 #include <geos/index/strtree/ItemBoundable.h>
26 #pragma warning(disable: 4251)
41 std::vector<SimpleSTRnode*> childNodes;
57 childNodes.reserve(capacity);
68 void toString(std::ostream& os,
int indentLevel)
const;
70 std::size_t getNumNodes()
const;
71 std::size_t getNumLeafNodes()
const;
73 const std::vector<SimpleSTRnode*>&
79 void* getItem()
const {
83 bool removeItem(
void *item);
105 std::size_t size()
const {
106 return childNodes.size();
115 bool isLeaf()
const override
120 bool isComposite()
const
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition: Envelope.h:59
double getArea() const
Gets the area of this envelope.
Definition: Envelope.h:290
Boundable wrapper for a non-Boundable spatial object. Used internally by AbstractSTRtree.
Definition: ItemBoundable.h:32
A node of the STR tree.
Definition: SimpleSTRnode.h:37
void addChildNode(SimpleSTRnode *childNode)
const geom::Envelope & getEnvelope() const
Definition: SimpleSTRnode.h:89
std::size_t getLevel() const
Definition: SimpleSTRnode.h:101
const void * getBounds() const override
Definition: SimpleSTRnode.h:93
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25