Optional
data: T[]Creates a new, empty quadtree with an empty extent and the default x- and y-accessors. Adds the specified array of data to the quadtree. Sets the x- and y- accessors to the specified functions before adding the specified array of data to the quadtree.
Creates a new, empty quadtree with an empty extent and the default x- and y-accessors. If data is specified, adds the specified array of data to the quadtree.