public static class Dimension3D.Integer extends Dimension3D
Dimension3D.Double, Dimension3D.Float, Dimension3D.Integer| Constructor and Description |
|---|
Dimension3D.Integer() |
Dimension3D.Integer(int[] sizeXYZ) |
Dimension3D.Integer(int sizeX,
int sizeY,
int sizeZ) |
| Modifier and Type | Method and Description |
|---|---|
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 |
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)
Sets the size of this
Dimension3D object. |
void |
setSizeX(double value)
Sets the size of the X dimension of this
Dimension3D in double
precision. |
void |
setSizeY(double value)
Sets the size of the Y dimension of this
Dimension3D in double
precision. |
void |
setSizeZ(double value)
Sets the size of the Z dimension of this
Dimension3D in double
precision. |
java.awt.geom.Dimension2D |
toDimension2D()
Convert to 2D dimension.
|
Dimension3D.Integer |
toInteger()
Returns an integer
Dimension3D that encloses the double Dimension3D. |
clone, equals, setSize, toStringpublic Dimension3D.Integer(int sizeX, int sizeY, int sizeZ)
public Dimension3D.Integer(int[] sizeXYZ)
public Dimension3D.Integer()
public double getSizeX()
Dimension3DgetSizeX in class Dimension3Dpublic double getSizeY()
Dimension3DgetSizeY in class Dimension3Dpublic double getSizeZ()
Dimension3DgetSizeZ in class Dimension3Dpublic void setSizeX(double value)
Dimension3DDimension3D in double
precision.setSizeX in class Dimension3Dpublic void setSizeY(double value)
Dimension3DDimension3D in double
precision.setSizeY in class Dimension3Dpublic void setSizeZ(double value)
Dimension3DDimension3D in double
precision.setSizeZ in class Dimension3Dpublic void setSize(double sizeX, double sizeY, double sizeZ)
Dimension3DDimension3D object.setSize in class Dimension3DsizeX - the new size for the X dimensionsizeY - the new size for the Y dimensionsizeZ - the new size for the Z dimensionpublic boolean isInfiniteX()
Dimension3Dtrue if the X dimension should be considered as infinite.isInfiniteX in class Dimension3Dpublic boolean isInfiniteY()
Dimension3Dtrue if the Y dimension should be considered as infinite.isInfiniteY in class Dimension3Dpublic boolean isInfiniteZ()
Dimension3Dtrue if the Z dimension should be considered as infinite.isInfiniteZ in class Dimension3Dpublic java.awt.geom.Dimension2D toDimension2D()
Dimension3DtoDimension2D in class Dimension3Dpublic Dimension3D.Integer toInteger()
Dimension3DDimension3D that encloses the double Dimension3D.Dimension3D.Integer might also fail to completely enclose the
original double Dimension3D if it overflows the limited range of the integer
data type.toInteger in class Dimension3DDimension3D that completely encloses
the actual double Dimension3D.