Class QuadTreeImpl.QuadTreeIteratorImpl

  • Enclosing class:
    QuadTreeImpl

    static final class QuadTreeImpl.QuadTreeIteratorImpl
    extends java.lang.Object
    • Field Detail

      • m_b_linear

        private boolean m_b_linear
      • m_query_start

        private Point2D m_query_start
      • m_query_end

        private Point2D m_query_end
      • m_tolerance

        private double m_tolerance
      • m_current_element_handle

        private int m_current_element_handle
      • m_next_element_handle

        private int m_next_element_handle
      • m_extents_stack

        private java.util.ArrayList<Envelope2D> m_extents_stack
    • Constructor Detail

      • QuadTreeIteratorImpl

        QuadTreeIteratorImpl​(QuadTreeImpl quad_tree_impl,
                             Geometry query,
                             double tolerance)
      • QuadTreeIteratorImpl

        QuadTreeIteratorImpl​(QuadTreeImpl quad_tree_impl,
                             Envelope2D query,
                             double tolerance)
      • QuadTreeIteratorImpl

        QuadTreeIteratorImpl​(QuadTreeImpl quad_tree_impl)
    • Method Detail

      • resetIterator

        void resetIterator​(Geometry query,
                           double tolerance)
        Resets the iterator to an 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 int and returns the int.