public final class FinalInterval extends AbstractInterval
Interval
interface.max, min
n
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(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)
|
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. |
dimension, dimensions, max, max, max, min, min, min, realMax, realMax, realMax, realMin, realMin, realMin
numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
numDimensions
public FinalInterval(Interval interval)
Interval
interval
- another Interval
public FinalInterval(Dimensions dimensions)
dimensions
- the size of the intervalpublic 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(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.Copyright © 2009–2017 ImgLib2. All rights reserved.