|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.iges.util.Bounds.Grid
Represents a 4-dimensional constraint in grid (relative) coordinates. This class follows the GrADS 1-based indexing convention.
Field Summary | |
Range.Long |
t
|
Range.Long |
x
|
Range.Long |
y
|
Range.Long |
z
|
Constructor Summary | |
Bounds.Grid(long xMin,
long xMax,
long yMin,
long yMax,
long zMin,
long zMax,
long tMin,
long tMax)
Creates a Bounds.Grid object with the constraints given. |
|
Bounds.Grid(Range.Long x,
Range.Long y,
Range.Long z,
Range.Long t)
|
|
Bounds.Grid(java.lang.String list,
boolean zeroBased)
Creates a Bounds.Grid object from a space-separated string. |
Method Summary | |
boolean |
equals(Bounds.Grid grid)
|
long |
getSize()
Calculates the number of points in the grid (not size in bytes) |
java.lang.String |
toGradsString()
Returns a string representation of the grid bounds, with the indexes offset by one, because GrADS uses one-based array indexing. |
java.lang.String |
toString()
Returns a string representation of the grid bounds. |
Bounds.Grid |
union(Bounds.Grid grid)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public Range.Long x
public Range.Long y
public Range.Long z
public Range.Long t
Constructor Detail |
public Bounds.Grid(long xMin, long xMax, long yMin, long yMax, long zMin, long zMax, long tMin, long tMax)
public Bounds.Grid(Range.Long x, Range.Long y, Range.Long z, Range.Long t)
public Bounds.Grid(java.lang.String list, boolean zeroBased) throws java.lang.IllegalArgumentException
Method Detail |
public boolean equals(Bounds.Grid grid)
public Bounds.Grid union(Bounds.Grid grid)
public long getSize()
public java.lang.String toGradsString()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |