index.Quadtree()
¶
-
class
index.
Quadtree
()¶ Create a Quadtree Spatial Index.
Methods¶
-
Quadtree.
query
()¶ - Arguments
bounds –
geom.Bounds()
The Bounds.
- Returns
Array()
Query the spatial index by Bounds.
-
Quadtree.
queryAll
()¶ - Returns
Array()
Get all item in the spatial index.
-
Quadtree.
insert
()¶ - Arguments
bounds –
geom.Bounds()
The Bounds.item –
Object()
The value.
- Returns
boolean()
Whether an item was removed or not
Remove an item from the spatial index
-
Quadtree.
remove
()¶ - Arguments
bounds –
geom.Bounds()
The Bounds.item –
Object()
The value.
- Returns
boolean()
Whether an item was removed or not
Remove an item from the spatial index
Get all item in the spatial index.