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
TypedRealIntervals. 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 RealIntervals 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, setAxisadd, 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, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointdimensionIndexaxes, axis, setAxisnumDimensionscontainsAll, equals, hashCodeparallelStream, streampublic void update()
CombinedSpaceupdate in class CombinedSpace<A extends TypedAxis,S extends TypedRealInterval<A>>public double realMin(int d)
realMin in interface RealIntervalpublic void realMin(double[] min)
realMin in interface RealIntervalpublic void realMin(RealPositionable min)
realMin in interface RealIntervalpublic double realMax(int d)
realMax in interface RealIntervalpublic void realMax(double[] max)
realMax in interface RealIntervalpublic void realMax(RealPositionable max)
realMax in interface RealIntervalCopyright © 2014–2022 ImageJ. All rights reserved.