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, waitfinish, hasNext, next, setBufferSizeprotected boolean calcBounds
protected PointFeatureCollection collection
public void setCalculateBounds(PointFeatureCollection collection)
PointFeatureIteratorsetCalculateBounds in interface PointFeatureIteratorcollection - if not null, on complete iteration set the results into the collection.protected void calcBounds(PointFeature pf)
protected void finishCalcBounds()
public LatLonRect getBoundingBox()
PointFeatureIteratorgetBoundingBox in interface PointFeatureIteratorpublic DateRange getDateRange()
PointFeatureIteratorgetDateRange in interface PointFeatureIteratorpublic CalendarDateRange getCalendarDateRange()
PointFeatureIteratorgetCalendarDateRange in interface PointFeatureIteratorpublic int getCount()
PointFeatureIteratorgetCount in interface PointFeatureIterator