public static class Dimension3D.Double extends Dimension3D
Dimension3D.Double, Dimension3D.Float, Dimension3D.Integer
Constructor and Description |
---|
Dimension3D.Double() |
Dimension3D.Double(double[] sizeXYZ) |
Dimension3D.Double(double sizeX,
double sizeY,
double 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.
|
public Dimension3D.Double(double sizeX, double sizeY, double sizeZ)
public Dimension3D.Double(double[] sizeXYZ)
public Dimension3D.Double()
public double getSizeX()
Dimension3D
getSizeX
in class Dimension3D
public double getSizeY()
Dimension3D
getSizeY
in class Dimension3D
public double getSizeZ()
Dimension3D
getSizeZ
in class Dimension3D
public void setSizeX(double value)
Dimension3D
Dimension3D
in double
precision.setSizeX
in class Dimension3D
public void setSizeY(double value)
Dimension3D
Dimension3D
in double
precision.setSizeY
in class Dimension3D
public void setSizeZ(double value)
Dimension3D
Dimension3D
in double
precision.setSizeZ
in class Dimension3D
public void setSize(double sizeX, double sizeY, double sizeZ)
Dimension3D
Dimension3D
object.setSize
in class Dimension3D
sizeX
- the new size for the X dimensionsizeY
- the new size for the Y dimensionsizeZ
- the new size for the Z dimensionpublic boolean isInfiniteX()
Dimension3D
true
if the X dimension should be considered as infinite.isInfiniteX
in class Dimension3D
public boolean isInfiniteY()
Dimension3D
true
if the Y dimension should be considered as infinite.isInfiniteY
in class Dimension3D
public boolean isInfiniteZ()
Dimension3D
true
if the Z dimension should be considered as infinite.isInfiniteZ
in class Dimension3D
public java.awt.geom.Dimension2D toDimension2D()
Dimension3D
toDimension2D
in class Dimension3D