public class PointQuadTree<T> extends AbstractPointSpatialIndex<T>
| Constructor and Description |
|---|
PointQuadTree() |
PointQuadTree(GeometryFactory geometryFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Point point) |
List<Map.Entry<Point,T>> |
findEntriesWithinDistance(Point from,
Point to,
double maxDistance) |
List<T> |
findWithin(BoundingBox boundingBox) |
List<T> |
findWithinDistance(Point point,
double maxDistance) |
List<T> |
findWithinDistance(Point from,
Point to,
double maxDistance) |
static PointQuadTree<int[]> |
get(Geometry geometry) |
void |
put(double x,
double y,
T value) |
void |
put(Point point,
T value) |
boolean |
remove(double x,
double y,
T value) |
boolean |
remove(Point point,
T value) |
void |
visit(BoundingBox envelope,
Visitor<T> visitor) |
void |
visit(Visitor<T> visitor) |
find, findAll, iteratorpublic PointQuadTree()
public PointQuadTree(GeometryFactory geometryFactory)
public static PointQuadTree<int[]> get(Geometry geometry)
public boolean contains(Point point)
public List<Map.Entry<Point,T>> findEntriesWithinDistance(Point from, Point to, double maxDistance)
public List<T> findWithin(BoundingBox boundingBox)
public void put(double x,
double y,
T value)
public boolean remove(double x,
double y,
T value)
public void visit(BoundingBox envelope, Visitor<T> visitor)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.