|
GEOS
3.5.0
|
QuadRoot is the root of a single Quadtree. It is centred at the origin, and does not have a defined extent. More...
#include <geos/indexQuadtree.h>
Public Member Functions | |
| void | insert (const geom::Envelope *itemEnv, void *item) |
Public Member Functions inherited from geos::index::quadtree::NodeBase | |
| std::vector< void * > & | getItems () |
| void | add (void *item) |
| std::vector< void * > & | addAllItems (std::vector< void * > &resultItems) const |
| Push all node items to the given vector, return the argument. | |
| virtual void | addAllItemsFromOverlapping (const geom::Envelope &searchEnv, std::vector< void * > &resultItems) const |
| unsigned int | depth () const |
| unsigned int | size () const |
| unsigned int | getNodeCount () const |
| virtual std::string | toString () const |
| virtual void | visit (const geom::Envelope *searchEnv, ItemVisitor &visitor) |
| bool | remove (const geom::Envelope *itemEnv, void *item) |
| bool | hasItems () const |
| bool | hasChildren () const |
| bool | isPrunable () const |
Protected Member Functions | |
| bool | isSearchMatch (const geom::Envelope &) const |
Additional Inherited Members | |
Static Public Member Functions inherited from geos::index::quadtree::NodeBase | |
| static int | getSubnodeIndex (const geom::Envelope *env, const geom::Coordinate ¢re) |
Protected Attributes inherited from geos::index::quadtree::NodeBase | |
| std::vector< void * > | items |
| Actual items are NOT owned by this class. | |
| Node * | subnode [4] |
QuadRoot is the root of a single Quadtree. It is centred at the origin, and does not have a defined extent.
| void geos::index::quadtree::Root::insert | ( | const geom::Envelope * | itemEnv, |
| void * | item | ||
| ) |
Insert an item into the quadtree this is the root of.
1.8.11