public abstract static class Bounds.AbstractAdaptingInterval extends AbstractEuclideanSpace implements Interval
Interval.min(int)
and Interval.max(int)
methods to be implemented by
derived classes.n
Constructor and Description |
---|
AbstractAdaptingInterval(int n) |
Modifier and Type | Method and Description |
---|---|
long |
dimension(int d)
Default implementation of
Dimensions.dimension(int) . |
void |
dimensions(long[] dimensions)
Write the number of pixels in each dimension into long[].
|
void |
max(long[] max)
Write the maximum of each dimension into long[].
|
void |
max(Positionable max)
Sets a
Positionable to the maximum of this Interval |
void |
min(long[] min)
Write the minimum of each dimension into long[].
|
void |
min(Positionable min)
Sets a
Positionable to the minimum of this Interval |
void |
realMax(double[] realMax)
Write the maximum of each dimension into double[].
|
double |
realMax(int d)
Default implementation of
RealInterval.realMax(int) . |
void |
realMax(RealPositionable realMax)
Sets a
RealPositionable to the maximum of this Interval |
void |
realMin(double[] realMin)
Write the minimum of each dimension into double[].
|
double |
realMin(int d)
Default implementation of
RealInterval.realMin(int) . |
void |
realMin(RealPositionable realMin)
Sets a
RealPositionable to the minimum of this Interval |
numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
max, maxAsLongArray, maxAsPoint, min, minAsLongArray, minAsPoint
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
allPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositive
numDimensions
public double realMin(int d)
Interval
RealInterval.realMin(int)
.realMin
in interface Interval
realMin
in interface RealInterval
d
- dimensionpublic void realMin(double[] realMin)
RealInterval
realMin
in interface RealInterval
public void realMin(RealPositionable realMin)
RealInterval
RealPositionable
to the minimum of this Interval
realMin
in interface RealInterval
public double realMax(int d)
Interval
RealInterval.realMax(int)
.realMax
in interface Interval
realMax
in interface RealInterval
d
- dimensionpublic void realMax(double[] realMax)
RealInterval
realMax
in interface RealInterval
public void realMax(RealPositionable realMax)
RealInterval
RealPositionable
to the maximum of this Interval
realMax
in interface RealInterval
public void min(long[] min)
Interval
public void min(Positionable min)
Interval
Positionable
to the minimum of this Interval
public void max(long[] max)
Interval
public void max(Positionable max)
Interval
Positionable
to the maximum of this Interval
public void dimensions(long[] dimensions)
Dimensions
dimensions
in interface Dimensions
public long dimension(int d)
Interval
Dimensions.dimension(int)
.dimension
in interface Dimensions
dimension
in interface Interval
Copyright © 2015–2022 ImgLib2. All rights reserved.