Package noaa.coastwatch.util
Class EarthArea.EarthAreaIterator
java.lang.Object
noaa.coastwatch.util.EarthArea.EarthAreaIterator
- All Implemented Interfaces:
Iterator<int[]>
- Enclosing class:
- EarthArea
The earth area iterator is used to loop over all grid squares in
an earth area.
-
Constructor Details
-
EarthAreaIterator
public EarthAreaIterator()
-
-
Method Details
-
hasNext
public boolean hasNext()Returns true if the area has more grid squares. -
next
public int[] next()Returns the next grid square coordinates as [lat, lon]. -
remove
public void remove()Performs no operation.
-