## QuadTree~QuadTree(An, pointQuad, maxDepth, maxChildren)

QuadTree
Constructor

#### # new QuadTree(An, pointQuad, maxDepth, maxChildren)

QuadTree data structure.

##### Parameters:

Name | Type | Description
--- | --- | ---
`An` | Object | object representing the bounds of the top level of the QuadTree. The object should contain the following properties : x, y, width, height
`pointQuad` | Boolean | Whether the QuadTree will contain points (true), or items with bounds (width / height)(false). Default value is false.
`maxDepth` | Number | The maximum number of levels that the quadtree will create. Default is 4.
`maxChildren` | Number | The maximum number of children that a node can contain before it is split into sub-nodes.

# Members

Type: Node

#### # root

The root node of the QuadTree which covers the entire area being segmented.

##### Properties:

Name | Type | Description
--- | --- | ---
`root` |  |