|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.geometry.QuadTree
public class QuadTree
| Nested Class Summary | |
|---|---|
static class |
QuadTree.QuadTreeIterator
|
| Constructor Summary | |
|---|---|
QuadTree(Envelope2D extent,
int height)
Creates a Quad_tree with the root having the extent of the input Envelope_2D, and height of the input height, where the root starts at height 0. |
|
| Method Summary | |
|---|---|
int |
getElement(int element_handle)
Returns the element at the given element_handle. |
int |
getElementCount()
Returns the number of elements in the Quad_tree. |
Envelope2D |
getExtent(int quad_handle)
Returns the extent of the quad at the given quad_handle. |
int |
getHeight(int quad_handle)
Returns the height of the quad at the given quad_handle. |
QuadTree.QuadTreeIterator |
getIterator()
Gets an iterator on the Quad_tree. |
QuadTree.QuadTreeIterator |
getIterator(Envelope2D query,
double tolerance)
Gets an iterator on the Quad_tree using the input Envelope_2D as the query. |
QuadTree.QuadTreeIterator |
getIterator(Geometry query,
double tolerance)
Gets an iterator on the Quad_tree. |
int |
getQuad(int element_handle)
Returns the Quad_handle of the quad containing the given element_handle. |
int |
insert(int element,
Envelope2D bounding_box)
Inserts the element and bounding_box into the Quad_tree. |
int |
insert(int element,
Envelope2D bounding_box,
int hint_index)
Inserts the element and bounding_box into the Quad_tree at the given quad_handle. |
void |
removeElement(int element_handle)
Removes the element and bounding_box at the given element_handle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuadTree(Envelope2D extent,
int height)
| Method Detail |
|---|
public int insert(int element,
Envelope2D bounding_box)
public int insert(int element,
Envelope2D bounding_box,
int hint_index)
public void removeElement(int element_handle)
public int getElement(int element_handle)
public int getHeight(int quad_handle)
public Envelope2D getExtent(int quad_handle)
public int getQuad(int element_handle)
public int getElementCount()
public QuadTree.QuadTreeIterator getIterator(Geometry query,
double tolerance)
public QuadTree.QuadTreeIterator getIterator(Envelope2D query,
double tolerance)
public QuadTree.QuadTreeIterator getIterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||