Package com.esri.core.geometry
Class QuadTreeImpl.QuadTreeIteratorImpl
- java.lang.Object
-
- com.esri.core.geometry.QuadTreeImpl.QuadTreeIteratorImpl
-
- Enclosing class:
- QuadTreeImpl
static final class QuadTreeImpl.QuadTreeIteratorImpl extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
m_b_linear
private int
m_current_element_handle
private java.util.ArrayList<Envelope2D>
m_extents_stack
private int
m_next_element_handle
private QuadTreeImpl
m_quad_tree
private AttributeStreamOfInt32
m_quads_stack
private Envelope2D
m_query_box
private Point2D
m_query_end
private Point2D
m_query_start
private double
m_tolerance
-
Constructor Summary
Constructors Constructor Description QuadTreeIteratorImpl(QuadTreeImpl quad_tree_impl)
QuadTreeIteratorImpl(QuadTreeImpl quad_tree_impl, Envelope2D query, double tolerance)
QuadTreeIteratorImpl(QuadTreeImpl quad_tree_impl, Geometry query, double tolerance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
next()
Moves the iterator to the next int and returns the int.(package private) 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.(package private) void
resetIterator(Geometry query, double tolerance)
Resets the iterator to an starting state on the Quad_tree_impl.
-
-
-
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_query_box
private Envelope2D m_query_box
-
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_quad_tree
private QuadTreeImpl m_quad_tree
-
m_quads_stack
private AttributeStreamOfInt32 m_quads_stack
-
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.
-
-