public abstract class AbstractWritableBox extends AbstractRealInterval implements WritableBox
WritableBox.max, minn| Constructor and Description |
|---|
AbstractWritableBox(double[] min,
double[] max)
Creates an n-d rectangular
RealMask. |
| Modifier and Type | Method and Description |
|---|---|
RealLocalizableRealPositionable |
center()
Returns the center of the Box.
|
boolean |
equals(Object obj)
Determines whether this box describes the same region as another one.
|
int |
hashCode() |
void |
setSideLength(int d,
double length)
Updates the length of the side in dimension d.
|
double |
sideLength(int d)
Returns side length of Box in dimension d.
|
realMax, realMax, realMax, realMin, realMin, realMin, toStringnumDimensionsclone, finalize, getClass, notify, notifyAll, wait, wait, waitand, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xorboundaryType, isAll, knownConstantnumDimensionsmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMinpublic AbstractWritableBox(double[] min,
double[] max)
RealMask. The dimensionality is
dictated by the length of the min array.min - An array containing the minimum position in each dimension. A
copy of this array is stored.max - An array containing maximum position in each dimension. A copy
of this array is stored.public double sideLength(int d)
BoxsideLength in interface Boxpublic RealLocalizableRealPositionable center()
Boxcenter in interface Boxcenter in interface WritableBoxpublic void setSideLength(int d,
double length)
WritableBoxsetSideLength in interface WritableBoxpublic boolean equals(Object obj)
Boxequals in interface Boxequals in interface MaskPredicate<RealLocalizable>equals in class Objectobj - The box to compare with this one.MaskPredicate.equals(Object),
Box.equals(Box, Box)Copyright © 2015–2022 ImgLib2. All rights reserved.