Package ucar.visad

Class VisADMath.Index

java.lang.Object
ucar.visad.VisADMath.Index
Enclosing class:
VisADMath

protected static final class VisADMath.Index extends Object
Provides support for indexing sample points.
  • Constructor Details

  • Method Details

    • getIndex

      protected int getIndex()
      Returns the current, cumulative index.
      Returns:
      The current, cumulative index.
    • getPreviousIndex

      protected int getPreviousIndex(int idim)
      Returns the previous dimensional index.
      Parameters:
      idim - Which dimensional index to return.
      Returns:
      The previous index.
    • hasPoint

      protected boolean hasPoint()
      Indicates if there are more elements.
      Returns:
      True if and only if there are more points.
    • increment

      protected void increment()
      Advances to the next element.