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, toString
public 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()
Dimension4D
getSizeX
in class Dimension4D
public double getSizeY()
Dimension4D
getSizeY
in class Dimension4D
public double getSizeZ()
Dimension4D
getSizeZ
in class Dimension4D
public double getSizeT()
Dimension4D
getSizeT
in class Dimension4D
public void setSizeX(double value)
Dimension4D
Dimension4D
in double
precision.setSizeX
in class Dimension4D
public void setSizeY(double value)
Dimension4D
Dimension4D
in double
precision.setSizeY
in class Dimension4D
public void setSizeZ(double value)
Dimension4D
Dimension4D
in double
precision.setSizeZ
in class Dimension4D
public void setSizeT(double value)
Dimension4D
Dimension4D
in double
precision.setSizeT
in class Dimension4D
public void setSize(double sizeX, double sizeY, double sizeZ, double sizeT)
Dimension4D
Dimension4D
object.setSize
in class Dimension4D
sizeX
- 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()
Dimension4D
true
if the X dimension should be considered as infinite.isInfiniteX
in class Dimension4D
public boolean isInfiniteY()
Dimension4D
true
if the Y dimension should be considered as infinite.isInfiniteY
in class Dimension4D
public boolean isInfiniteZ()
Dimension4D
true
if the Z dimension should be considered as infinite.isInfiniteZ
in class Dimension4D
public boolean isInfiniteT()
Dimension4D
true
if the T dimension should be considered as infinite.isInfiniteT
in class Dimension4D
public java.awt.geom.Dimension2D toDimension2D()
Dimension4D
toDimension2D
in class Dimension4D
public Dimension3D toDimension3D()
Dimension4D
toDimension3D
in class Dimension4D
public Dimension4D.Integer toInteger()
Dimension4D
Dimension4D
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 Dimension4D
Dimension4D
that completely encloses
the actual double Dimension4D
.