Package | Description |
---|---|
com.github.gwtd3.api.geom |
Modifier and Type | Method and Description |
---|---|
Quadtree |
Quadtree.RootNode.add(T point)
Adds a new point to the previously-computed quadtree.
|
Quadtree |
Quadtree.extent(Array<Array<Double>> extent)
If the specified extent is null, this causes the quadtree extent to be
automatically computed for the initial array of points.
|
Quadtree |
Quadtree.extent(double x0,
double y0,
double x1,
double y1)
If the specified extent is a two-dimensional array [[ x0, y0 ], [ x1, y1
]], where x0 and y0 are the lower bounds of the extent, and x1 and y1 are
the upper bounds of the extent, this sets the quadtree's extent.
|
Quadtree |
Geometry.quadtree()
Creates a new quadtree factory with the default x-accessor and y-accessor
(that assume the input data is a two-element array of numbers; see below
for details) and extent.
|
Quadtree |
Quadtree.x(DatumFunction<Double> xAccessor)
Sets the x-coordinate accessor.
|
Quadtree |
Quadtree.y(DatumFunction<Double> yAccessor)
Sets the y-coordinate accessor.
|
Copyright © 2015 gwt-d3. All rights reserved.