public class CombinedRealInterval<A extends TypedAxis,S extends TypedRealInterval<A>> extends CombinedSpace<A,S> implements TypedRealInterval<A>
CombinedRealInterval
is a RealInterval
(specifically a
TypedRealInterval
) which is a union of other
TypedRealInterval
s. Dimensions with the same AxisType
are
combined; see CombinedSpace
for further details.
The realMin(int)
of a dimension will be the lower bound of all
constituent interval realMin(int)
s for dimensions of that type.
Similarly, the realMax(int)
of a dimension will be the upper bound of all
constituent interval realMax(int)
s.
In the case of RealInterval
s which also implement
CalibratedSpace
, no reconciliation is done to ensure that overlapping
axes have equal units or calibrations; it is assumed that each axis has
already been standardized to a common calibration somehow.
Modifier and Type | Class and Description |
---|---|
protected class |
CombinedRealInterval.MinMax |
modCount
Constructor and Description |
---|
CombinedRealInterval() |
Modifier and Type | Method and Description |
---|---|
void |
realMax(double[] max) |
double |
realMax(int d) |
void |
realMax(RealPositionable max) |
void |
realMin(double[] min) |
double |
realMin(int d) |
void |
realMin(RealPositionable min) |
void |
update()
Recomputes the combined space based on its current constituents.
|
axes, axis, dimensionIndex, numDimensions, setAxis
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
dimensionIndex
axes, axis, setAxis
numDimensions
containsAll, equals, hashCode
parallelStream, stream
public void update()
CombinedSpace
update
in class CombinedSpace<A extends TypedAxis,S extends TypedRealInterval<A>>
public double realMin(int d)
realMin
in interface RealInterval
public void realMin(double[] min)
realMin
in interface RealInterval
public void realMin(RealPositionable min)
realMin
in interface RealInterval
public double realMax(int d)
realMax
in interface RealInterval
public void realMax(double[] max)
realMax
in interface RealInterval
public void realMax(RealPositionable max)
realMax
in interface RealInterval
Copyright © 2014–2022 ImageJ. All rights reserved.