public class NodeQuadTree<T> extends AbstractIdObjectPointQuadTree<Node<T>>
| Constructor and Description |
|---|
NodeQuadTree(Graph<T> graph) |
| Modifier and Type | Method and Description |
|---|---|
Point |
getCoordinates(Node<T> node) |
BoundingBox |
getEnvelope(Node<T> node) |
int |
getId(Node<T> object) |
Node<T> |
getObject(Integer id) |
List<Node<T>> |
getObjects(List<Integer> ids) |
List<Node<T>> |
query(BoundingBox envelope) |
add, add, put, remove, remove, removeAll, visit, visitfind, findAll, iteratorpublic Point getCoordinates(Node<T> node)
getCoordinates in class AbstractIdObjectPointQuadTree<Node<T>>public BoundingBox getEnvelope(Node<T> node)
public List<Node<T>> query(BoundingBox envelope)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.