Package com.esri.core.geometry
Class QuadTree.QuadTreeIterator
- java.lang.Object
-
- com.esri.core.geometry.QuadTree.QuadTreeIterator
-
- Enclosing class:
- QuadTree
public static final class QuadTree.QuadTreeIterator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
m_b_sorted
private java.lang.Object
m_impl
-
Constructor Summary
Constructors Modifier Constructor Description private
QuadTreeIterator(java.lang.Object obj, boolean bSorted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.Object
getImpl_()
Returns a void* to the impl class.int
next()
Moves the iterator to the next Element_handle and returns the Element_handle.void
resetIterator(Envelope2D query, double tolerance)
Resets the iterator to a starting state on the QuadTree using the input Envelope2D as the query.void
resetIterator(Geometry query, double tolerance)
Resets the iterator to an starting state on the QuadTree.
-
-
-
Method Detail
-
resetIterator
public void resetIterator(Geometry query, double tolerance)
Resets the iterator to an starting state on the QuadTree. If the input Geometry is a Line segment, then the query will be the segment. Otherwise the query will be the Envelope2D bounding the Geometry. \param query The Geometry used for the query. \param tolerance The tolerance used for the intersection tests.
-
resetIterator
public void resetIterator(Envelope2D query, double tolerance)
Resets the iterator to a starting state on the QuadTree using the input Envelope2D as the query. \param query The Envelope2D used for the query. \param tolerance The tolerance used for the intersection tests.
-
next
public int next()
Moves the iterator to the next Element_handle and returns the Element_handle.
-
getImpl_
java.lang.Object getImpl_()
Returns a void* to the impl class.
-
-