edu.unh.sdb.datasource
Class CellBoundsIterator

java.lang.Object
  extended by edu.unh.sdb.common.Bounds
      extended by edu.unh.sdb.datasource.ISBounds
          extended by edu.unh.sdb.datasource.ISBoundsIterator
              extended by edu.unh.sdb.datasource.CellBoundsIterator
All Implemented Interfaces:
SDBIterator, java.io.Serializable, java.lang.Cloneable

public class CellBoundsIterator
extends ISBoundsIterator

CellBoundsIterator creates ISBounds with length 2 in all dimensions, and an overlap of -1. That is, for a given index space, it returns all the cells of the index space in turn.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.unh.sdb.datasource.ISBoundsIterator
anchor, fullShape, lbounds, ordering, shape, steps, ubounds, valid
 
Fields inherited from class edu.unh.sdb.datasource.ISBounds
lower, upper
 
Constructor Summary
CellBoundsIterator(ISBounds space)
           
CellBoundsIterator(ISBounds space, AxisOrdering ordering)
           
 
Method Summary
protected  boolean incrementAxis(int axisNumber)
          this is a help fuction for next() function, which is to set a specified value to the specified axis if the value is in bounds
 
Methods inherited from class edu.unh.sdb.datasource.ISBoundsIterator
clone, copyBounds, end, getAxisLength, getAxisOrdering, getBlockShape, getOrdering, getSpaceBounds, getSpaceDimensions, getSpaceDimensionsArray, getSteps, init, init, init, isFullShape, main, next, resetAxis, setBounds, setupAndCheck, toString, toString, valid
 
Methods inherited from class edu.unh.sdb.datasource.ISBounds
boundingVolume, contains, contains, contains, containsExcludeUpper, containsExcludeUpper, copy, copy, copyAndMove, copyAndMove, copyAndMoveCenterTo, copyAndMoveCenterTo, copyAndMoveTo, copyAndMoveTo, copyAndMoveToOrigin, copyExpandBy, copyIncreasedBy, copyLower, copyLower, copyLowerArray, copyLowerArray, copyReducedBy, copyScaled, copyScaled, copyScaled, copyShrinkBy, copyTo, copyTo, copyToOrigin, copyUpper, copyUpper, copyUpperArray, copyUpperArray, createAtOrigin, createAtOrigin, createCentered, createCentered, createCentered, dim, equals, equalShape, equalShapeAfterProject, expand, getDimension, getDimensions, getDimensions, getDimensionsArray, getLower, getLower, getLowerArray, getLowerArray, getUpper, getUpper, getUpperArray, getUpperArray, getVertex, getVertex, hasSameShape, increase, increaseByOne, increaseByOne, intersection, intersects, intersectWith, isSlice, longVolume, makeRelativeTo, makeRelativeTo, move, move, move, moveCenterTo, moveCenterTo, moveTo, moveTo, moveToOrigin, newBoundsAtOrigin, project, reduce, reduceByOne, reduceByOne, set, setAndMove, setAndMoveTo, setLower, setLower, setLower, setToBoundingVolume, setUpper, setUpper, setUpper, slice, split, volume
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CellBoundsIterator

public CellBoundsIterator(ISBounds space)

CellBoundsIterator

public CellBoundsIterator(ISBounds space,
                          AxisOrdering ordering)
Method Detail

incrementAxis

protected boolean incrementAxis(int axisNumber)
this is a help fuction for next() function, which is to set a specified value to the specified axis if the value is in bounds

Overrides:
incrementAxis in class ISBoundsIterator