public class QuadTree<Value> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
QuadTree.Node<Value> |
static interface |
QuadTree.Visitor<Value> |
Constructor and Description |
---|
QuadTree(DblBoundingBox bounds) |
Modifier and Type | Method and Description |
---|---|
void |
insert(Point2D location,
int charge,
Value value)
Insert (x, y) into appropriate quadrant
|
void |
visit(QuadTree.Visitor<Value> visitor) |
public QuadTree(DblBoundingBox bounds)
public void insert(Point2D location, int charge, Value value)
public void visit(QuadTree.Visitor<Value> visitor)
Copyright © 2021. All rights reserved.