Class QuadTreeImpl.QuadTreeSortedIteratorImpl

  • Enclosing class:
    QuadTreeImpl

    static final class QuadTreeImpl.QuadTreeSortedIteratorImpl
    extends java.lang.Object
    • Method Detail

      • resetIterator

        void resetIterator​(Geometry query,
                           double tolerance)
        Resets the iterator to a starting state on the Quad_tree_impl. 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. \param tolerance The tolerance used for the intersection tests.
      • resetIterator

        void resetIterator​(Envelope2D query,
                           double tolerance)
        Resets the iterator to a starting state on the Quad_tree_impl 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

        int next()
        Moves the iterator to the next Element_handle and returns the Element_handle.