Package com.esri.core.geometry
Class QuadTreeImpl.QuadTreeIteratorImpl
java.lang.Object
com.esri.core.geometry.QuadTreeImpl.QuadTreeIteratorImpl
- Enclosing class:
QuadTreeImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private int
private ArrayList
<Envelope2D> private int
private QuadTreeImpl
private AttributeStreamOfInt32
private Envelope2D
private Point2D
private Point2D
private double
-
Constructor Summary
ConstructorsConstructorDescriptionQuadTreeIteratorImpl
(QuadTreeImpl quad_tree_impl) QuadTreeIteratorImpl
(QuadTreeImpl quad_tree_impl, Envelope2D query, double tolerance) QuadTreeIteratorImpl
(QuadTreeImpl quad_tree_impl, Geometry query, double tolerance) -
Method Summary
Modifier and TypeMethodDescription(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 Details
-
m_b_linear
private boolean m_b_linear -
m_query_start
-
m_query_end
-
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
-
m_quads_stack
-
m_extents_stack
-
-
Constructor Details
-
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 Details
-
resetIterator
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
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.
-