public static class Rectangle5D.Integer extends Rectangle5D
Rectangle5D.Double, Rectangle5D.Float, Rectangle5D.Integer| Modifier and Type | Field and Description |
|---|---|
int |
c |
int |
sizeC |
int |
sizeT |
int |
sizeX |
int |
sizeY |
int |
sizeZ |
int |
t |
int |
x |
int |
y |
int |
z |
| Constructor and Description |
|---|
Rectangle5D.Integer() |
Rectangle5D.Integer(int x,
int y,
int z,
int t,
int c,
int sizeX,
int sizeY,
int sizeZ,
int sizeT,
int sizeC) |
Rectangle5D.Integer(Rectangle5D.Integer r) |
Rectangle5D.Integer(Rectangle5D r) |
| Modifier and Type | Method and Description |
|---|---|
Rectangle5D |
createIntersection(Rectangle5D r)
Returns a new
Rectangle5D object representing the intersection of this
Rectangle5D with the specified Rectangle5D. |
Rectangle5D |
createUnion(Rectangle5D r)
Returns a new
Rectangle5D object representing the union of this
Rectangle5D with the specified Rectangle5D. |
double |
getC()
Returns the minimum C coordinate.
|
Dimension5D.Integer |
getDimension()
Returns the dimension.
|
Point5D.Integer |
getPosition()
Returns the point coordinate.
|
double |
getSizeC()
Returns the size of C dimension.
|
double |
getSizeT()
Returns the size of T dimension.
|
double |
getSizeX()
Returns the size of X dimension.
|
double |
getSizeY()
Returns the size of Y dimension.
|
double |
getSizeZ()
Returns the size of Z dimension.
|
double |
getT()
Returns the minimum T coordinate.
|
double |
getX()
Returns the minimum X coordinate.
|
double |
getY()
Returns the minimum Y coordinate.
|
double |
getZ()
Returns the minimum Z coordinate.
|
void |
setC(double value)
Sets the minimum C coordinate.
|
void |
setRect(double x,
double y,
double z,
double t,
double c,
double sizeX,
double sizeY,
double sizeZ,
double sizeT,
double sizeC)
Sets the bounds of this
Rectangle5D to the integer bounds
which encompass the specified double bounds. |
void |
setRect(int x,
int y,
int z,
int t,
int c,
int sizeX,
int sizeY,
int sizeZ,
int sizeT,
int sizeC)
Sets the position and size of this
Rectangle5D to the specified
integer values. |
void |
setSizeC(double value)
Sets the size of C dimension.
|
void |
setSizeT(double value)
Sets the size of T dimension.
|
void |
setSizeX(double value)
Sets the size of X dimension.
|
void |
setSizeY(double value)
Sets the size of Y dimension.
|
void |
setSizeZ(double value)
Sets the size of Z dimension.
|
void |
setT(double value)
Sets the minimum T coordinate.
|
void |
setX(double value)
Sets the minimum X coordinate.
|
void |
setY(double value)
Sets the minimum Y coordinate.
|
void |
setZ(double value)
Sets the minimum Z coordinate.
|
Rectangle5D.Integer |
toInteger()
Returns an integer
Rectangle5D that completely encloses the
double Rectangle. |
java.awt.geom.Rectangle2D |
toRectangle2D()
Convert to 2D rectangle
|
Rectangle3D |
toRectangle3D()
Convert to 3D rectangle
|
Rectangle4D |
toRectangle4D()
Convert to 4D rectangle
|
add, add, add, clone, contains, contains, contains, equals, getCenterC, getCenterT, getCenterX, getCenterY, getCenterZ, getMaxC, getMaxT, getMaxX, getMaxY, getMaxZ, getMinC, getMinT, getMinX, getMinY, getMinZ, hashCode, intersect, intersects, intersects, isEmpty, isInfiniteC, isInfiniteT, isInfiniteX, isInfiniteY, isInfiniteZ, setInfiniteC, setInfiniteT, setInfiniteX, setInfiniteY, setInfiniteZ, toString, unionpublic int x
public int y
public int z
public int t
public int c
public int sizeX
public int sizeY
public int sizeZ
public int sizeT
public int sizeC
public Rectangle5D.Integer(int x, int y, int z, int t, int c, int sizeX, int sizeY, int sizeZ, int sizeT, int sizeC)
public Rectangle5D.Integer(Rectangle5D.Integer r)
public Rectangle5D.Integer(Rectangle5D r)
public Rectangle5D.Integer()
public void setRect(double x, double y, double z, double t, double c, double sizeX, double sizeY, double sizeZ, double sizeT, double sizeC)
Rectangle5D to the integer bounds
which encompass the specified double bounds.setRect in class Rectangle5Dx - the X coordinate of the minimum corner position of this Rectangle5Dy - the Y coordinate of the minimum corner position of this Rectangle5Dz - the Z coordinate of the minimum corner position of this Rectangle5Dt - the T coordinate of the minimum corner position of this Rectangle5Dc - the C coordinate of the minimum corner position of this Rectangle5DsizeX - size for X dimension of this Rectangle5DsizeY - size for Y dimension of this Rectangle5DsizeZ - size for Z dimension of this Rectangle5DsizeT - size for T dimension of this Rectangle5DsizeC - size for C dimension of this Rectangle5Dpublic void setRect(int x, int y, int z, int t, int c, int sizeX, int sizeY, int sizeZ, int sizeT, int sizeC)
Rectangle5D to the specified
integer values.x - the X coordinate of the minimum corner position of this Rectangle5Dy - the Y coordinate of the minimum corner position of this Rectangle5Dz - the Z coordinate of the minimum corner position of this Rectangle5Dt - the T coordinate of the minimum corner position of this Rectangle5Dc - the C coordinate of the minimum corner position of this Rectangle5DsizeX - size for X dimension of this Rectangle5DsizeY - size for Y dimension of this Rectangle5DsizeZ - size for Z dimension of this Rectangle5DsizeT - size for T dimension of this Rectangle5DsizeC - size for C dimension of this Rectangle5Dpublic double getX()
Rectangle5DgetX in class Rectangle5Dpublic void setX(double value)
Rectangle5DsetX in class Rectangle5Dpublic double getY()
Rectangle5DgetY in class Rectangle5Dpublic void setY(double value)
Rectangle5DsetY in class Rectangle5Dpublic double getZ()
Rectangle5DgetZ in class Rectangle5Dpublic void setZ(double value)
Rectangle5DsetZ in class Rectangle5Dpublic double getT()
Rectangle5DgetT in class Rectangle5Dpublic void setT(double value)
Rectangle5DsetT in class Rectangle5Dpublic double getC()
Rectangle5DgetC in class Rectangle5Dpublic void setC(double value)
Rectangle5DsetC in class Rectangle5Dpublic double getSizeX()
Rectangle5DgetSizeX in class Rectangle5Dpublic void setSizeX(double value)
Rectangle5DsetSizeX in class Rectangle5Dpublic double getSizeY()
Rectangle5DgetSizeY in class Rectangle5Dpublic void setSizeY(double value)
Rectangle5DsetSizeY in class Rectangle5Dpublic double getSizeZ()
Rectangle5DgetSizeZ in class Rectangle5Dpublic void setSizeZ(double value)
Rectangle5DsetSizeZ in class Rectangle5Dpublic double getSizeT()
Rectangle5DgetSizeT in class Rectangle5Dpublic void setSizeT(double value)
Rectangle5DsetSizeT in class Rectangle5Dpublic double getSizeC()
Rectangle5DgetSizeC in class Rectangle5Dpublic void setSizeC(double value)
Rectangle5DsetSizeC in class Rectangle5Dpublic Point5D.Integer getPosition()
Rectangle5DgetPosition in class Rectangle5Dpublic Dimension5D.Integer getDimension()
Rectangle5DgetDimension in class Rectangle5Dpublic Rectangle5D.Integer toInteger()
Rectangle5DRectangle5D that completely encloses the
double Rectangle. The returned Rectangle might also fail to
completely enclose the original double Rectangle if it overflows
the limited range of the integer data type.toInteger in class Rectangle5DRectangle that completely encloses
the actual double Rectangle.public Rectangle5D createIntersection(Rectangle5D r)
Rectangle5DRectangle5D object representing the intersection of this
Rectangle5D with the specified Rectangle5D.createIntersection in class Rectangle5Dr - the Rectangle5D to be intersected with this Rectangle5DRectangle5D contained in both the specified
Rectangle5D and in this Rectangle5D.public Rectangle5D createUnion(Rectangle5D r)
Rectangle5DRectangle5D object representing the union of this
Rectangle5D with the specified Rectangle5D.createUnion in class Rectangle5Dr - the Rectangle5D to be combined with this Rectangle5DRectangle5D containing both the specified
Rectangle5D and this Rectangle5D.public java.awt.geom.Rectangle2D toRectangle2D()
Rectangle5DtoRectangle2D in class Rectangle5Dpublic Rectangle3D toRectangle3D()
Rectangle5DtoRectangle3D in class Rectangle5Dpublic Rectangle4D toRectangle4D()
Rectangle5DtoRectangle4D in class Rectangle5D