protected static final class VisADMath.Index
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
Index(visad.GriddedSet set)
Constructs from a
GriddedSet . |
Modifier and Type | Method and Description |
---|---|
protected int |
getIndex()
Returns the current, cumulative index.
|
protected int |
getPreviousIndex(int idim)
Returns the previous dimensional index.
|
protected boolean |
hasPoint()
Indicates if there are more elements.
|
protected void |
increment()
Advances to the next element.
|
protected Index(visad.GriddedSet set) throws visad.VisADException
GriddedSet
.set
- The GriddedSet
.visad.VisADException
- if a core VisAD failure occurs.protected int getIndex()
protected int getPreviousIndex(int idim)
idim
- Which dimensional index to return.protected boolean hasPoint()
protected void increment()