Package com.esri.core.geometry
Class QuadTreeImpl.QuadTreeSortedIteratorImpl
- java.lang.Object
-
- com.esri.core.geometry.QuadTreeImpl.QuadTreeSortedIteratorImpl
-
- Enclosing class:
- QuadTreeImpl
static final class QuadTreeImpl.QuadTreeSortedIteratorImpl extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
QuadTreeImpl.QuadTreeSortedIteratorImpl.Sorter
-
Field Summary
Fields Modifier and Type Field Description private BucketSort
m_bucket_sort
(package private) int
m_index
private QuadTreeImpl.QuadTreeIteratorImpl
m_quad_tree_iterator_impl
private AttributeStreamOfInt32
m_sorted_handles
-
Constructor Summary
Constructors Constructor Description QuadTreeSortedIteratorImpl(QuadTreeImpl.QuadTreeIteratorImpl quad_tree_iterator_impl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
next()
Moves the iterator to the next Element_handle and returns the Element_handle.(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 a starting state on the Quad_tree_impl.
-
-
-
Field Detail
-
m_bucket_sort
private BucketSort m_bucket_sort
-
m_sorted_handles
private AttributeStreamOfInt32 m_sorted_handles
-
m_quad_tree_iterator_impl
private QuadTreeImpl.QuadTreeIteratorImpl m_quad_tree_iterator_impl
-
m_index
int m_index
-
-
Constructor Detail
-
QuadTreeSortedIteratorImpl
QuadTreeSortedIteratorImpl(QuadTreeImpl.QuadTreeIteratorImpl quad_tree_iterator_impl)
-
-
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.
-
-