Class Quadtree
↳ Quadtree
Defined in: qdt.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Quadtree(bbox)
Instantiate a new quad tree.
|
Field Attributes | Field Name and Description |
---|---|
The maximum number of points stored in a quad tree node
before it is subdivided.
|
|
In a subdivided quad tree this represents the top right subtree.
|
|
In a subdivided quad tree this represents the top left subtree.
|
|
Point storage.
|
|
In a subdivided quad tree this represents the bottom right subtree.
|
|
In a subdivided quad tree this represents the bottom left subtree.
|
Class Detail
Quadtree(bbox)
Instantiate a new quad tree.
- Parameters:
- {Array} bbox
- Bounding box of the new quad (sub)tree.
Field Detail
capacity
The maximum number of points stored in a quad tree node
before it is subdivided.
- Default Value:
- 10
northEast
In a subdivided quad tree this represents the top right subtree.
northWest
In a subdivided quad tree this represents the top left subtree.
points
Point storage.
southEast
In a subdivided quad tree this represents the bottom right subtree.
southWest
In a subdivided quad tree this represents the bottom left subtree.