public final class FinalRealInterval extends AbstractRealInterval
RealInterval interface.max, minn| Constructor and Description |
|---|
FinalRealInterval(double[] min,
double[] max)
Creates a new
AbstractRealInterval from min and max coordinates |
FinalRealInterval(double[] min,
double[] max,
boolean copy)
Creates a new
AbstractRealInterval from min and max coordinates |
FinalRealInterval(RealInterval interval)
Creates a new
AbstractRealInterval using an existing
RealInterval |
FinalRealInterval(RealLocalizable min,
RealLocalizable max)
Creates a new
AbstractRealInterval from min and max coordinates |
| Modifier and Type | Method and Description |
|---|---|
static FinalRealInterval |
createMinMax(double... minmax)
Create a
FinalRealInterval from a parameter list comprising
minimum and maximum coordinates. |
static FinalRealInterval |
createMinSize(double... minsize)
Deprecated.
|
boolean |
equals(Object obj) |
int |
hashCode() |
static FinalRealInterval |
wrap(double[] min,
double[] max)
Create a
FinalRealInterval that stores its min and max in the provided arrays. |
realMax, realMax, realMax, realMin, realMin, realMin, toStringnumDimensionsclone, finalize, getClass, notify, notifyAll, wait, wait, waitmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointnumDimensionspublic FinalRealInterval(RealInterval interval)
AbstractRealInterval using an existing
RealIntervalinterval - public FinalRealInterval(double[] min,
double[] max,
boolean copy)
AbstractRealInterval from min and max coordinatesmin - max - copy - flag indicating whether min and max arrays should be duplicated.public FinalRealInterval(double[] min,
double[] max)
AbstractRealInterval from min and max coordinatesmin - max - public FinalRealInterval(RealLocalizable min, RealLocalizable max)
AbstractRealInterval from min and max coordinatesmin - max - @Deprecated public static FinalRealInterval createMinSize(double... minsize)
FinalInterval.createMinSize(long...) for
integer intervals. Dimension is not defined for RealInterval and
computing the max as min + dim - 1 does not make sense.
Create a FinalRealInterval from a parameter list comprising
minimum coordinates and size. For example, to create a 2D interval from
(10, 10) to (20, 40) use createMinSize( 10, 10, 11, 31 ).
minsize - a list of 2*n parameters to create a n
-dimensional interval. The first n parameters specify
the minimum of the interval, the next n parameters
specify the dimensions of the interval.public static FinalRealInterval createMinMax(double... minmax)
FinalRealInterval from a parameter list comprising
minimum and maximum coordinates. For example, to create a 2D interval
from (10, 10) to (20, 40) use createMinMax( 10, 10, 20, 40 ).minmax - a list of 2*n parameters to create a n
-dimensional interval. The first n parameters specify
the minimum of the interval, the next n parameters
specify the maximum of the interval.public static FinalRealInterval wrap(double[] min, double[] max)
FinalRealInterval that stores its min and max in the provided arrays.min - array for storing the position of the first elements in each dimensionmax - array for storing the the position of the last elements in each dimensionCopyright © 2015–2022 ImgLib2. All rights reserved.