public class PointQuadTreeNode<T> extends Object
| Constructor and Description |
|---|
PointQuadTreeNode(T value,
double x,
double y) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Point point) |
void |
findEntriesWithin(List<Map.Entry<Point,T>> results,
BoundingBox envelope) |
void |
findWithin(List<T> results,
BoundingBox envelope) |
void |
findWithin(List<T> results,
double x,
double y,
double maxDistance,
BoundingBox envelope) |
boolean |
isLessThanX(double x) |
boolean |
isLessThanY(double y) |
void |
put(double x,
double y,
PointQuadTreeNode<T> node) |
PointQuadTreeNode<T> |
remove(double x,
double y,
T value) |
void |
setValue(int index,
double value) |
boolean |
visit(BoundingBox envelope,
Visitor<T> visitor) |
boolean |
visit(Visitor<T> visitor) |
public PointQuadTreeNode(T value, double x, double y)
public boolean contains(Point point)
public void findEntriesWithin(List<Map.Entry<Point,T>> results, BoundingBox envelope)
public void findWithin(List<T> results, BoundingBox envelope)
public void findWithin(List<T> results, double x, double y, double maxDistance, BoundingBox envelope)
public boolean isLessThanX(double x)
public boolean isLessThanY(double y)
public void put(double x,
double y,
PointQuadTreeNode<T> node)
public PointQuadTreeNode<T> remove(double x, double y, T value)
public void setValue(int index,
double value)
public boolean visit(BoundingBox envelope, Visitor<T> visitor)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.