public abstract class Dimension5D extends java.lang.Object implements java.lang.Cloneable
Dimension5D
class is to encapsulate a 4D dimension (X,Y,Z,T).Modifier and Type | Class and Description |
---|---|
static class |
Dimension5D.Double |
static class |
Dimension5D.Float |
static class |
Dimension5D.Integer |
Constructor and Description |
---|
Dimension5D() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a new object of the same class as this object.
|
boolean |
equals(java.lang.Object obj) |
abstract double |
getSizeC()
Returns the size of the C dimension in double precision.
|
abstract double |
getSizeT()
Returns the size of the T dimension in double precision.
|
abstract double |
getSizeX()
Returns the size of the X dimension in double precision.
|
abstract double |
getSizeY()
Returns the size of the Y dimension in double precision.
|
abstract double |
getSizeZ()
Returns the size of the Z dimension in double precision.
|
abstract boolean |
isInfiniteC()
Returns
true if the C dimension should be considered as infinite. |
abstract boolean |
isInfiniteT()
Returns
true if the T dimension should be considered as infinite. |
abstract boolean |
isInfiniteX()
Returns
true if the X dimension should be considered as infinite. |
abstract boolean |
isInfiniteY()
Returns
true if the Y dimension should be considered as infinite. |
abstract boolean |
isInfiniteZ()
Returns
true if the Z dimension should be considered as infinite. |
void |
setSize(Dimension5D d)
Sets the size of this
Dimension5D object to match the specified size. |
abstract void |
setSize(double sizeX,
double sizeY,
double sizeZ,
double sizeT,
double sizeC)
Sets the size of this
Dimension5D object. |
abstract void |
setSizeC(double value)
Sets the size of the C dimension of this
Dimension5D in double
precision. |
abstract void |
setSizeT(double value)
Sets the size of the T dimension of this
Dimension5D in double
precision. |
abstract void |
setSizeX(double value)
Sets the size of the X dimension of this
Dimension5D in double
precision. |
abstract void |
setSizeY(double value)
Sets the size of the Y dimension of this
Dimension5D in double
precision. |
abstract void |
setSizeZ(double value)
Sets the size of the Z dimension of this
Dimension5D in double
precision. |
abstract java.awt.geom.Dimension2D |
toDimension2D()
Convert to 2D dimension.
|
abstract Dimension3D |
toDimension3D()
Convert to 3D dimension.
|
abstract Dimension4D |
toDimension4D()
Convert to 4D dimension.
|
Dimension5D.Integer |
toInteger()
Returns an integer
Dimension5D that encloses the double Dimension5D . |
java.lang.String |
toString() |
public Dimension5D()
public abstract double getSizeX()
public abstract double getSizeY()
public abstract double getSizeZ()
public abstract double getSizeT()
public abstract double getSizeC()
public abstract void setSizeX(double value)
Dimension5D
in double
precision.public abstract void setSizeY(double value)
Dimension5D
in double
precision.public abstract void setSizeZ(double value)
Dimension5D
in double
precision.public abstract void setSizeT(double value)
Dimension5D
in double
precision.public abstract void setSizeC(double value)
Dimension5D
in double
precision.public abstract void setSize(double sizeX, double sizeY, double sizeZ, double sizeT, double sizeC)
Dimension5D
object.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 dimensionsizeC
- the new size for the C dimensionpublic void setSize(Dimension5D d)
Dimension5D
object to match the specified size.d
- the new size for the Dimension5D
objectpublic abstract boolean isInfiniteX()
true
if the X dimension should be considered as infinite.public abstract boolean isInfiniteY()
true
if the Y dimension should be considered as infinite.public abstract boolean isInfiniteZ()
true
if the Z dimension should be considered as infinite.public abstract boolean isInfiniteT()
true
if the T dimension should be considered as infinite.public abstract boolean isInfiniteC()
true
if the C dimension should be considered as infinite.public abstract java.awt.geom.Dimension2D toDimension2D()
public abstract Dimension3D toDimension3D()
public abstract Dimension4D toDimension4D()
public Dimension5D.Integer toInteger()
Dimension5D
that encloses the double Dimension5D
.Dimension5D.Integer
might also fail to completely enclose the
original double Dimension5D
if it overflows the limited range of the integer
data type.Dimension5D
that completely encloses
the actual double Dimension5D
.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
java.lang.OutOfMemoryError
- if there is not enough memory.Cloneable
public java.lang.String toString()
toString
in class java.lang.Object