public interface MaskInterval extends Mask, Interval
Mask
, that is, the mask predicate evaluates to
false
outside the bounds interval. Results of operations are
MaskInterval
s where this is guaranteed. For example and()
of
a MaskInterval
with any predicate will always have bounds (smaller or
equal to the MaskInterval
).Modifier and Type | Method and Description |
---|---|
default MaskInterval |
and(Predicate<? super Localizable> other) |
default boolean |
isEmpty()
Returns true if
Predicate.test(T) is known to always return
false. |
default MaskInterval |
minus(Predicate<? super Localizable> other) |
default MaskInterval |
or(MaskInterval other) |
default MaskInterval |
xor(MaskInterval other) |
boundaryType, equals, isAll, knownConstant, maskType
dimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMin
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMin
allPositive, allPositive, dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositive
numDimensions
default boolean isEmpty()
Predicate.test(T)
is known to always return
false.
If this Interval
is empty (i.e. min > max), then Predicate.test(T)
should always return false
.
isEmpty
in interface MaskPredicate<Localizable>
default MaskInterval and(Predicate<? super Localizable> other)
and
in interface Mask
and
in interface MaskPredicate<Localizable>
and
in interface Predicate<Localizable>
default MaskInterval or(MaskInterval other)
default MaskInterval minus(Predicate<? super Localizable> other)
minus
in interface Mask
minus
in interface MaskPredicate<Localizable>
default MaskInterval xor(MaskInterval other)
Copyright © 2015–2022 ImgLib2. All rights reserved.