Class RangeIterator
RangeIterator is a wrapper over MutableS2ShapeIndex::Iterator with extra
methods that are useful for merging the contents of two or more
S2ShapeIndexes.
Constructors
Name | Description |
this
(index)
|
Construct a new RangeIterator positioned at the first cell of the index.
|
Methods
Name | Description |
clipped
()
|
Various other convenience methods for the current cell.
|
id
()
|
The current S2CellId and cell contents.
|
rangeMin
()
|
The min and max leaf cell ids covered by the current cell. If Done() is
true, these methods return a value larger than any valid cell id.
|
seekBeyond
(target)
|
Positions the iterator at the first cell that follows "target", i.e. the
first cell such that range_min() > target.range_max().
|
seekTo
(target)
|
Positions the iterator at the first cell that overlaps or follows
"target", i.e. such that range_max() >= target.range_min().
|