T
- location in N-space; typically a RealLocalizable
or
Localizable
).public interface MaskPredicate<T> extends Predicate<T>, EuclideanSpace
Modifier and Type | Method and Description |
---|---|
MaskPredicate<T> |
and(Predicate<? super T> other) |
default BoundaryType |
boundaryType()
Returns the boundary behavior of this Mask.
|
boolean |
equals(Object obj)
Determines whether two masks describe the same region in the same way.
|
default boolean |
isAll()
Returns true if
Predicate.test(T) is known to always return
true. |
default boolean |
isEmpty()
Returns true if
Predicate.test(T) is known to always return
false. |
default KnownConstant |
knownConstant() |
default Class<?> |
maskType()
Returns the type of the mask.
|
MaskPredicate<T> |
minus(Predicate<? super T> other) |
MaskPredicate<T> |
negate() |
MaskPredicate<T> |
or(Predicate<? super T> other) |
MaskPredicate<T> |
xor(Predicate<? super T> other) |
numDimensions
default Class<?> maskType()
default BoundaryType boundaryType()
default KnownConstant knownConstant()
default boolean isEmpty()
Predicate.test(T)
is known to always return
false.default boolean isAll()
Predicate.test(T)
is known to always return
true.boolean equals(Object obj)
kind
of mask has its own semantics:
polygon
objects are equal if
they have the same vertices in the same order at the same locations.box
is not considered "equal" to a polygon
even if the polygon's vertices are the four corners of the box,
and the two masks have the same boundary type.MaskPredicate<T> negate()
MaskPredicate<T> minus(Predicate<? super T> other)
MaskPredicate<T> xor(Predicate<? super T> other)
Copyright © 2015–2022 ImgLib2. All rights reserved.