public interface RealMaskRealInterval extends RealMask, RealInterval
RealMask
, that is, the mask predicate evaluates to
false
outside the bounds interval. Results of operations are
RealMaskRealInterval
s 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, maskType
numDimensions
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMin
default 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 RealMask
default RealMaskRealInterval or(RealMaskRealInterval other)
default RealMaskRealInterval minus(Predicate<? super RealLocalizable> other)
minus
in interface MaskPredicate<RealLocalizable>
minus
in interface RealMask
default RealMaskRealInterval xor(RealMaskRealInterval other)
default RealMaskRealInterval transform(AffineGet transformToSource)
default void realMin(double[] min)
RealInterval
realMin
in interface RealInterval
default void realMin(RealPositionable min)
RealInterval
RealPositionable
to the minimum of this Interval
realMin
in interface RealInterval
default void realMax(double[] max)
RealInterval
realMax
in interface RealInterval
default void realMax(RealPositionable max)
RealInterval
RealPositionable
to the maximum of this Interval
realMax
in interface RealInterval
Copyright © 2015–2022 ImgLib2. All rights reserved.