com.esri.core.geometry
Class QuadTree.QuadTreeIterator

java.lang.Object
  extended by com.esri.core.geometry.QuadTree.QuadTreeIterator
Enclosing class:
QuadTree

public static final class QuadTree.QuadTreeIterator
extends Object


Method Summary
 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 Quad_tree using the input Envelope_2D as the query.
 void resetIterator(Geometry query, double tolerance)
          Resets the iterator to an starting state on the Quad_tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resetIterator

public void resetIterator(Geometry query,
                          double tolerance)
Resets the iterator to an starting state on the Quad_tree. If the input Geometry is a Line segment, then the query will be the segment. Otherwise the query will be the Envelope_2D 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 Quad_tree using the input Envelope_2D as the query. \param query The Envelope_2D 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.



Copyright © 2013. All Rights Reserved.