|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unh.sdb.common.Bounds
edu.unh.sdb.lattice.GBounds
edu.unh.sdb.lattice.GBoundsIterator
public class GBoundsIterator
Field Summary |
---|
Fields inherited from class edu.unh.sdb.lattice.GBounds |
---|
lower, upper |
Constructor Summary | |
---|---|
GBoundsIterator(GBounds space,
float[] shape)
Construct an GBoundsIterator that will traverse the given space with an an GBounds of the given shape (dimensions). |
|
GBoundsIterator(GBounds space,
float[] shape,
AxisOrdering ordering)
|
|
GBoundsIterator(GBounds space,
IndexSpaceID dimensions)
|
|
GBoundsIterator(GBounds space,
int[] dimensions)
|
|
GBoundsIterator(GBounds space,
Point start,
float[] shape)
|
|
GBoundsIterator(GBounds space,
Point start,
float[] shape,
AxisOrdering ordering)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Return a copy of this GBoundsIterator |
GBounds |
copyBounds()
Return a simple GBounds corresponding to the current value of this iterator. |
void |
end()
Not implemented. |
float |
getAxisLength(int axis)
Return the length of this iterator's space along the specified axis. |
float[] |
getAxisLengthArray()
Returns an array of ints representing the dimensions of the space being iterated over. |
AxisOrdering |
getAxisOrdering()
Return the AxisOrdering object for this iterator. |
Point |
getBlockShape()
Return an IndexSpaceID representing the shape of the iterator's blocks. |
void |
init()
Initialize this GBoundsIterator so that its value is set to the first GBounds in the iteration. |
static void |
main(java.lang.String[] args)
For debugging. |
boolean |
next()
Moving the GBoundsIterator to the next position. |
java.lang.String |
toString()
Return a String representing the object. |
java.lang.String |
toString(java.lang.String indent)
Return description of this GBoundsIterator |
boolean |
valid()
Return true if the current position is a valid position in the IndexSpace. |
Methods inherited from class edu.unh.sdb.lattice.GBounds |
---|
boundingVolume, contains, contains, contains, copy, copyAndMoveToOrigin, dim, equals, getDimension, getDimensions, getDimensions, getLower, getLowerArray, getUpper, getUpperArray, intersects, move, move, moveTo, moveTo, moveToOrigin, setLower, setLower, setUpper, setUpper, volume |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GBoundsIterator(GBounds space, float[] shape)
public GBoundsIterator(GBounds space, IndexSpaceID dimensions)
public GBoundsIterator(GBounds space, int[] dimensions)
public GBoundsIterator(GBounds space, float[] shape, AxisOrdering ordering)
public GBoundsIterator(GBounds space, Point start, float[] shape)
public GBoundsIterator(GBounds space, Point start, float[] shape, AxisOrdering ordering)
Method Detail |
---|
public void init()
init
in interface SDBIterator
public final AxisOrdering getAxisOrdering()
public final float getAxisLength(int axis)
public final float[] getAxisLengthArray()
public final Point getBlockShape()
public boolean valid()
valid
in interface SDBIterator
public boolean next()
next
in interface SDBIterator
public void end()
end
in interface SDBIterator
public GBounds copyBounds()
copyBounds
in class GBounds
public java.lang.Object clone()
clone
in class GBounds
public java.lang.String toString()
toString
in class GBounds
public java.lang.String toString(java.lang.String indent)
toString
in class GBounds
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |