public abstract class AbstractWrappedRealInterval<I extends RealInterval> extends Object implements RealInterval
IterableRealIntervals
,
etc that forward the RealInterval
interface to, for example, their
source accessible.Modifier and Type | Field and Description |
---|---|
protected I |
sourceInterval |
Constructor and Description |
---|
AbstractWrappedRealInterval(I source) |
Modifier and Type | Method and Description |
---|---|
I |
getSource() |
int |
numDimensions()
Gets the space's number of dimensions.
|
void |
realMax(double[] max)
Write the maximum of each dimension into double[].
|
double |
realMax(int d)
Get the maximum in dimension d.
|
void |
realMax(RealPositionable max)
Sets a
RealPositionable to the maximum of this Interval |
void |
realMin(double[] min)
Write the minimum of each dimension into double[].
|
double |
realMin(int d)
Get the minimum in dimension d.
|
void |
realMin(RealPositionable min)
Sets a
RealPositionable to the minimum of this Interval |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
protected final I extends RealInterval sourceInterval
public AbstractWrappedRealInterval(I source)
public double realMin(int d)
RealInterval
realMin
in interface RealInterval
d
- dimensionpublic void realMin(double[] min)
RealInterval
realMin
in interface RealInterval
public void realMin(RealPositionable min)
RealInterval
RealPositionable
to the minimum of this Interval
realMin
in interface RealInterval
public double realMax(int d)
RealInterval
realMax
in interface RealInterval
d
- dimensionpublic void realMax(double[] max)
RealInterval
realMax
in interface RealInterval
public void realMax(RealPositionable max)
RealInterval
RealPositionable
to the maximum of this Interval
realMax
in interface RealInterval
public int numDimensions()
EuclideanSpace
numDimensions
in interface EuclideanSpace
public I getSource()
Copyright © 2015–2022 ImgLib2. All rights reserved.