public interface RealMaskRealInterval extends RealMask, RealInterval
RealMask, that is, the mask predicate evaluates to
false outside the bounds interval. Results of operations are
RealMaskRealIntervals where this is guaranteed. For example
and() of a RealMaskRealInterval with any predicate will
always have bounds (smaller or equal to the RealMaskRealInterval).| Modifier and Type | Method and Description |
|---|---|
default RealMaskRealInterval |
and(Predicate<? super RealLocalizable> other) |
default boolean |
isEmpty()
Returns true if
Predicate.test(T) is known to always return
false. |
default RealMaskRealInterval |
minus(Predicate<? super RealLocalizable> other) |
default RealMaskRealInterval |
or(RealMaskRealInterval other) |
default void |
realMax(double[] max)
Write the maximum of each dimension into double[].
|
default void |
realMax(RealPositionable max)
Sets a
RealPositionable to the maximum of this Interval |
default void |
realMin(double[] min)
Write the minimum of each dimension into double[].
|
default void |
realMin(RealPositionable min)
Sets a
RealPositionable to the minimum of this Interval |
default RealMaskRealInterval |
transform(AffineGet transformToSource) |
default RealMaskRealInterval |
xor(RealMaskRealInterval other) |
boundaryType, equals, isAll, knownConstant, maskTypenumDimensionsmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMindefault boolean isEmpty()
Predicate.test(T) is known to always return
false.
If this RealInterval is empty (i.e. min > max), then
Predicate.test(T) should always return false.
isEmpty in interface MaskPredicate<RealLocalizable>default RealMaskRealInterval and(Predicate<? super RealLocalizable> other)
and in interface MaskPredicate<RealLocalizable>and in interface Predicate<RealLocalizable>and in interface RealMaskdefault RealMaskRealInterval or(RealMaskRealInterval other)
default RealMaskRealInterval minus(Predicate<? super RealLocalizable> other)
minus in interface MaskPredicate<RealLocalizable>minus in interface RealMaskdefault RealMaskRealInterval xor(RealMaskRealInterval other)
default RealMaskRealInterval transform(AffineGet transformToSource)
default void realMin(double[] min)
RealIntervalrealMin in interface RealIntervaldefault void realMin(RealPositionable min)
RealIntervalRealPositionable to the minimum of this IntervalrealMin in interface RealIntervaldefault void realMax(double[] max)
RealIntervalrealMax in interface RealIntervaldefault void realMax(RealPositionable max)
RealIntervalRealPositionable to the maximum of this IntervalrealMax in interface RealIntervalCopyright © 2015–2022 ImgLib2. All rights reserved.