public class AddKt
| Modifier and Type | Method and Description |
|---|---|
static <D> void |
add(Quadtree<D> $receiver,
D datum)
Adds the specified datum to the quadtree, deriving its coordinates ⟨x,y⟩ using the current x- and y-accessors.
If the new point is outside the current extent of the quadtree, the quadtree is automatically expanded to
cover the new point.
|
static <D> void |
addAll(Quadtree<D> $receiver,
java.util.List<? extends D> data) |
public static <D> void add(Quadtree<D> $receiver, D datum)
Adds the specified datum to the quadtree, deriving its coordinates ⟨x,y⟩ using the current x- and y-accessors. If the new point is outside the current extent of the quadtree, the quadtree is automatically expanded to cover the new point.
public static <D> void addAll(Quadtree<D> $receiver, java.util.List<? extends D> data)