public class IntegerIndexSpaceID extends IndexSpaceID
Modifier and Type | Field and Description |
---|---|
protected int[] |
axes |
Constructor and Description |
---|
IntegerIndexSpaceID(IndexSpaceID id)
Constructs an IntegerIndexSpaceID from the contents of the IndexSpaceID argument.
|
IntegerIndexSpaceID(IndexSpaceID id,
int value)
Constructs an IntegerIndexSpaceID with dimensionality matching
id and all values set to value |
IntegerIndexSpaceID(int i)
Constructs a one dimensional IntegerIndexSpaceID with axis value set
to the argument.
|
IntegerIndexSpaceID(int[] axes)
Constructs a IntegerIndexSpaceID with dimensionality matching the length of the
parameter array.
|
IntegerIndexSpaceID(IntegerIndexSpaceID id)
Constructs an IntegerIndexSpaceID from the contents of the IntegerIndexSpaceID argument.
|
IntegerIndexSpaceID(int i,
int j)
Constructs a two dimensional IntegerIndexSpaceID with axis values set
to the given values.
|
IntegerIndexSpaceID(int i,
int j,
int k)
Constructs a three dimensional IntegerIndexSpaceID with axis values set
to the given values.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Return a copy of this IndexSpaceID.
|
IndexSpaceID |
copyID()
Return a copy of this IndexSpaceID.
|
int |
dim()
Returns the dimensionality of this IndexSpaceID.
|
boolean |
equals(java.lang.Object obj)
Return true if parameter is equal to this object, false otherwise.
|
int |
getCoord(int axisNumber)
Get the value corresponding to the specified axis.
|
int[] |
getCoords(int[] coords)
Fill the array argument with the coordinate values for this ISID.
|
static void |
main(java.lang.String[] args) |
void |
setCoord(int axisNumber,
int 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.
|
add, add, containedBy, divide, getCoords, greaterThanOrEqual, lessThanOrEqual, mod, multiply, negate, project, scale, scale, setDimensionsInUnits, shift, subtract, subtract, subtract, volume
public IntegerIndexSpaceID(int i)
public IntegerIndexSpaceID(int i, int j)
public IntegerIndexSpaceID(int i, int j, int k)
public IntegerIndexSpaceID(int[] axes)
public IntegerIndexSpaceID(IndexSpaceID id, int value)
id
and all values set to value
public IntegerIndexSpaceID(IndexSpaceID id)
public IntegerIndexSpaceID(IntegerIndexSpaceID id)
public final IndexSpaceID copyID()
copyID
in class IndexSpaceID
public java.lang.Object clone()
public final int getCoord(int axisNumber)
getCoord
in class IndexSpaceID
public int[] getCoords(int[] coords)
getCoords
in class IndexSpaceID
public void setCoord(int axisNumber, int value)
public final int dim()
public boolean equals(java.lang.Object obj)
equals
in class IndexSpaceID
public java.lang.String toString()
toString
in class IndexSpaceID
public java.lang.String toString(java.lang.String indent)
toString
in class IndexSpaceID
public static void main(java.lang.String[] args)