|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unh.sdb.common.SpaceID
edu.unh.sdb.lattice.Point
edu.unh.sdb.lattice.GIterator
public class GIterator
Child class of Point. GIterator can iterate through a Domain
Field Summary |
---|
Fields inherited from class edu.unh.sdb.lattice.Point |
---|
axes |
Constructor Summary | |
---|---|
GIterator(GBounds db)
Constructor taking an GBounds, which specifies the IndexSpace |
|
GIterator(GBounds db,
AxisOrdering ord)
Constructor taking an GBounds, which specifies the Domain, and the AxisOrdering which specifies the axis incrementation order |
|
GIterator(GBounds db,
AxisOrdering ord,
float[] steps)
Constructor taking an GBounds, AxisOrdering and steps array |
|
GIterator(GBounds db,
float[] steps)
Constructor taking an GBounds, which specifies the Domain and the steps array allowing GIterator increment step other than 1 |
Method Summary | |
---|---|
java.lang.Object |
clone()
Return a copy of this GIterator |
boolean |
containedBy(GBounds db)
Returns true if this Point is contained by the GBounds parameter, or false otherwise. |
Point |
copyID()
Return a Point corresponding to the current position. |
float |
getCoord(int axisNumber)
Get the value corresponding to the specified axis. |
boolean |
hasMoreElements()
Return true if this GIterator can be incremented. |
void |
init()
Initilize this ISiterator |
static void |
main(java.lang.String[] args)
|
boolean |
next()
Increment the GIterator to the next position. |
void |
setBounds(GBounds bound)
Change the IndexSpace to which this GIterator is bound |
void |
setCoord(int axisNumber,
float value)
Set the specified axis to the specified value. |
java.lang.String |
toString()
Return a String representing the object. |
java.lang.String |
toString(java.lang.String indent)
Return a String representing the object indented by the argument string. |
boolean |
valid()
Return true if the current position is a valid position in the IndexSpace. |
Methods inherited from class edu.unh.sdb.lattice.Point |
---|
add, assign, assign, dim, distance, equal, getCoords, getFloatAxis, getIntAxis, greaterThanOrEqual, lessThanOrEqual, makeDatum, negate, print, setCoord, setCoords, subtract |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GIterator(GBounds db)
public GIterator(GBounds db, AxisOrdering ord)
public GIterator(GBounds db, float[] steps)
public GIterator(GBounds db, AxisOrdering ord, float[] steps)
Method Detail |
---|
public Point copyID()
public java.lang.Object clone()
clone
in class Point
public java.lang.String toString()
toString
in class Point
public java.lang.String toString(java.lang.String indent)
toString
in class Point
public void setBounds(GBounds bound)
public void init()
public float getCoord(int axisNumber)
getCoord
in class Point
public void setCoord(int axisNumber, float value)
setCoord
in class Point
public boolean valid()
public boolean next()
public boolean hasMoreElements()
public boolean containedBy(GBounds db)
containedBy
in class Point
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |