public QuadTreeIterator getIterator ( Geometry query , double tolerance ) { QuadTreeImpl . QuadTreeIteratorImpl iterator = m_impl . getIterator ( query , tolerance ) ; return new QuadTreeIterator ( iterator , false ) ; }
Gets an iterator on the QuadTree . The query will be the Envelope2D that bounds the input Geometry . To reuse the existing iterator on the same QuadTree but with a new query use the reset_iterator function on the QuadTree_iterator . \ param query The Geometry used for the query . If the Geometry is a Line segment then the query will be the segment . Otherwise the query will be the Envelope2D bounding the Geometry . \ param tolerance The tolerance used for the intersection tests .