public class DefaultUnaryCompositeRealMaskRealInterval extends AbstractWrappedRealInterval<RealInterval> implements UnaryCompositeMaskPredicate<RealLocalizable>, RealMaskRealInterval
RealMaskRealInterval
which is the result of an operation on a
Predicate
.sourceInterval
Constructor and Description |
---|
DefaultUnaryCompositeRealMaskRealInterval(Operators.UnaryMaskOperator operator,
Predicate<? super RealLocalizable> arg0,
RealInterval interval,
BoundaryType boundaryType,
UnaryOperator<KnownConstant> knownConstantOp) |
Modifier and Type | Method and Description |
---|---|
Predicate<? super RealLocalizable> |
arg0() |
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.
|
int |
hashCode() |
KnownConstant |
knownConstant() |
Operators.UnaryMaskOperator |
operator()
Returns the operation which lead to this mask.
|
boolean |
test(RealLocalizable localizable) |
getSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMin
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
operand, operands
maskType
and, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xor
isAll
numDimensions
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMin
public DefaultUnaryCompositeRealMaskRealInterval(Operators.UnaryMaskOperator operator, Predicate<? super RealLocalizable> arg0, RealInterval interval, BoundaryType boundaryType, UnaryOperator<KnownConstant> knownConstantOp)
public BoundaryType boundaryType()
MaskPredicate
boundaryType
in interface MaskPredicate<RealLocalizable>
public KnownConstant knownConstant()
knownConstant
in interface MaskPredicate<RealLocalizable>
public boolean test(RealLocalizable localizable)
test
in interface Predicate<RealLocalizable>
public Operators.UnaryMaskOperator operator()
CompositeMaskPredicate
operator
in interface CompositeMaskPredicate<RealLocalizable>
public Predicate<? super RealLocalizable> arg0()
arg0
in interface UnaryCompositeMaskPredicate<RealLocalizable>
public boolean equals(Object obj)
MaskPredicate
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.equals
in interface MaskPredicate<RealLocalizable>
equals
in class Object
Copyright © 2015–2022 ImgLib2. All rights reserved.