public final class FinalInterval extends AbstractInterval
Interval interface.max, minn| Modifier | Constructor and Description |
|---|---|
|
FinalInterval(Dimensions dimensions)
Creates an Interval with the boundaries [0, dimensions-1]
|
|
FinalInterval(Interval interval)
Creates an Interval from another
Interval |
|
FinalInterval(Localizable min,
Localizable max)
Creates an Interval with the boundaries [min, max] (both including)
|
|
FinalInterval(long... dimensions)
Creates an Interval with the boundaries [0, dimensions-1]
|
|
FinalInterval(long[] min,
long[] max)
Creates an Interval with the boundaries [min, max] (both including)
|
protected |
FinalInterval(long[] min,
long[] max,
boolean copy)
Creates an Interval with the boundaries [min, max] (both including)
|
| Modifier and Type | Method and Description |
|---|---|
static FinalInterval |
createMinMax(long... minmax)
Create a
FinalInterval from a parameter list comprising minimum
and maximum coordinates. |
static FinalInterval |
createMinSize(long... minsize)
Create a
FinalInterval from a parameter list comprising minimum
coordinates and size. |
static FinalInterval |
createMinSize(long[] min,
long[] size)
Create an Interval with the given minimum coordinates and size.
|
boolean |
equals(Object obj) |
int |
hashCode() |
static FinalInterval |
wrap(long[] min,
long[] max)
Create an Interval that stores its min and max in the provided arrays.
|
dimension, dimensions, max, max, max, min, min, min, realMax, realMax, realMax, realMin, realMin, realMin, toStringnumDimensionsclone, finalize, getClass, notify, notifyAll, wait, wait, waitmaxAsLongArray, maxAsPoint, minAsLongArray, minAsPointmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointallPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivenumDimensionspublic FinalInterval(Interval interval)
Intervalinterval - another Intervalpublic FinalInterval(Dimensions dimensions)
dimensions - the size of the intervalprotected FinalInterval(long[] min,
long[] max,
boolean copy)
min - the position of the first elements in each dimensionmax - the position of the last elements in each dimensioncopy - flag indicating whether min and max arrays should be duplicated.public FinalInterval(long[] min,
long[] max)
min - the position of the first elements in each dimensionmax - the position of the last elements in each dimensionpublic FinalInterval(Localizable min, Localizable max)
min - the position of the first elements in each dimensionmax - the position of the last elements in each dimensionpublic FinalInterval(long... dimensions)
dimensions - the size of the intervalpublic static FinalInterval createMinSize(long... minsize)
FinalInterval 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 FinalInterval createMinMax(long... minmax)
FinalInterval 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 FinalInterval createMinSize(long[] min, long[] size)
min - the minimum of the intervalsize - the dimensions of the intervalpublic static FinalInterval wrap(long[] min, long[] max)
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.