public abstract class PointIteratorAbstract extends java.lang.Object implements PointFeatureIterator
Modifier and Type | Class and Description |
---|---|
static class |
PointIteratorAbstract.Filter |
Modifier and Type | Field and Description |
---|---|
protected boolean |
calcBounds |
protected PointFeatureCollection |
collection |
Modifier | Constructor and Description |
---|---|
protected |
PointIteratorAbstract() |
Modifier and Type | Method and Description |
---|---|
protected void |
calcBounds(PointFeature pf) |
protected void |
finishCalcBounds() |
LatLonRect |
getBoundingBox()
Get BoundingBox after iteration is finished, if calcBounds was set true
|
CalendarDateRange |
getCalendarDateRange()
Get DateRange of observation time after iteration is finished, if calcBounds was set true
|
int |
getCount()
Get number of points after the iteration is finished, if calcBounds was set true
|
DateRange |
getDateRange()
Get DateRange of observation time after iteration is finished, if calcBounds was set true
|
void |
setCalculateBounds(PointFeatureCollection collection)
If this is set, then the iterator will calculate the bounding box, time range, and size,
and make it available through getBoundingBox(), getDateRange(), and getSize().
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
finish, hasNext, next, setBufferSize
protected boolean calcBounds
protected PointFeatureCollection collection
public void setCalculateBounds(PointFeatureCollection collection)
PointFeatureIterator
setCalculateBounds
in interface PointFeatureIterator
collection
- if not null, on complete iteration set the results into the collection.protected void calcBounds(PointFeature pf)
protected void finishCalcBounds()
public LatLonRect getBoundingBox()
PointFeatureIterator
getBoundingBox
in interface PointFeatureIterator
public DateRange getDateRange()
PointFeatureIterator
getDateRange
in interface PointFeatureIterator
public CalendarDateRange getCalendarDateRange()
PointFeatureIterator
getCalendarDateRange
in interface PointFeatureIterator
public int getCount()
PointFeatureIterator
getCount
in interface PointFeatureIterator