public static class Dimension4D.Integer extends Dimension4D
Dimension4D.Double, Dimension4D.Float, Dimension4D.Integer| Modifier and Type | Field and Description |
|---|---|
int |
sizeT |
int |
sizeX |
int |
sizeY |
int |
sizeZ |
| Constructor and Description |
|---|
Dimension4D.Integer() |
Dimension4D.Integer(int[] sizeXYZT) |
Dimension4D.Integer(int sizeX,
int sizeY,
int sizeZ,
int sizeT) |
| Modifier and Type | Method and Description |
|---|---|
double |
getSizeT()
Returns the size of the T dimension in double precision.
|
double |
getSizeX()
Returns the size of the X dimension in double precision.
|
double |
getSizeY()
Returns the size of the Y dimension in double precision.
|
double |
getSizeZ()
Returns the size of the Z dimension in double precision.
|
boolean |
isInfiniteT()
Returns
true if the T dimension should be considered as infinite. |
boolean |
isInfiniteX()
Returns
true if the X dimension should be considered as infinite. |
boolean |
isInfiniteY()
Returns
true if the Y dimension should be considered as infinite. |
boolean |
isInfiniteZ()
Returns
true if the Z dimension should be considered as infinite. |
void |
setSize(double sizeX,
double sizeY,
double sizeZ,
double sizeT)
Sets the size of this
Dimension4D object. |
void |
setSizeT(double value)
Sets the size of the T dimension of this
Dimension4D in double
precision. |
void |
setSizeX(double value)
Sets the size of the X dimension of this
Dimension4D in double
precision. |
void |
setSizeY(double value)
Sets the size of the Y dimension of this
Dimension4D in double
precision. |
void |
setSizeZ(double value)
Sets the size of the Z dimension of this
Dimension4D in double
precision. |
java.awt.geom.Dimension2D |
toDimension2D()
Convert to 2D dimension.
|
Dimension3D |
toDimension3D()
Convert to 3D dimension.
|
Dimension4D.Integer |
toInteger()
Returns an integer
Dimension4D that encloses the double Dimension4D. |
clone, equals, setSize, toStringpublic int sizeX
public int sizeY
public int sizeZ
public int sizeT
public Dimension4D.Integer(int sizeX, int sizeY, int sizeZ, int sizeT)
public Dimension4D.Integer(int[] sizeXYZT)
public Dimension4D.Integer()
public double getSizeX()
Dimension4DgetSizeX in class Dimension4Dpublic double getSizeY()
Dimension4DgetSizeY in class Dimension4Dpublic double getSizeZ()
Dimension4DgetSizeZ in class Dimension4Dpublic double getSizeT()
Dimension4DgetSizeT in class Dimension4Dpublic void setSizeX(double value)
Dimension4DDimension4D in double
precision.setSizeX in class Dimension4Dpublic void setSizeY(double value)
Dimension4DDimension4D in double
precision.setSizeY in class Dimension4Dpublic void setSizeZ(double value)
Dimension4DDimension4D in double
precision.setSizeZ in class Dimension4Dpublic void setSizeT(double value)
Dimension4DDimension4D in double
precision.setSizeT in class Dimension4Dpublic void setSize(double sizeX, double sizeY, double sizeZ, double sizeT)
Dimension4DDimension4D object.setSize in class Dimension4DsizeX - the new size for the X dimensionsizeY - the new size for the Y dimensionsizeZ - the new size for the Z dimensionsizeT - the new size for the T dimensionpublic boolean isInfiniteX()
Dimension4Dtrue if the X dimension should be considered as infinite.isInfiniteX in class Dimension4Dpublic boolean isInfiniteY()
Dimension4Dtrue if the Y dimension should be considered as infinite.isInfiniteY in class Dimension4Dpublic boolean isInfiniteZ()
Dimension4Dtrue if the Z dimension should be considered as infinite.isInfiniteZ in class Dimension4Dpublic boolean isInfiniteT()
Dimension4Dtrue if the T dimension should be considered as infinite.isInfiniteT in class Dimension4Dpublic java.awt.geom.Dimension2D toDimension2D()
Dimension4DtoDimension2D in class Dimension4Dpublic Dimension3D toDimension3D()
Dimension4DtoDimension3D in class Dimension4Dpublic Dimension4D.Integer toInteger()
Dimension4DDimension4D that encloses the double Dimension4D.Dimension4D.Integer might also fail to completely enclose the
original double Dimension4D if it overflows the limited range of the integer
data type.toInteger in class Dimension4DDimension4D that completely encloses
the actual double Dimension4D.