public interface PointMask extends RealMaskRealInterval, RealLocalizable
RealMaskRealInterval
representing a single point in n-d real space.Modifier and Type | Method and Description |
---|---|
default BoundaryType |
boundaryType()
Returns the boundary behavior of this Mask.
|
boolean |
equals(Object obj)
Determines whether this point describes the same region as another one.
|
static boolean |
equals(PointMask pointMask1,
PointMask pointMask2)
Determines whether two points describe the same region.
|
static int |
hashCode(PointMask point)
Computes a hash code for a point.
|
default Class<?> |
maskType()
Returns the type of the mask.
|
default double |
realMax(int d)
Get the maximum in dimension d.
|
default double |
realMin(int d)
Get the minimum in dimension d.
|
and, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xor
isAll, knownConstant
numDimensions
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
getDoublePosition, getFloatPosition, localize, localize, localize, positionAsDoubleArray, positionAsRealPoint
default Class<?> maskType()
MaskPredicate
equality
and
hashing
.maskType
in interface MaskPredicate<RealLocalizable>
default BoundaryType boundaryType()
MaskPredicate
boundaryType
in interface MaskPredicate<RealLocalizable>
default double realMin(int d)
RealInterval
realMin
in interface RealInterval
d
- dimensiondefault double realMax(int d)
RealInterval
realMax
in interface RealInterval
d
- dimensionboolean equals(Object obj)
equals
in interface MaskPredicate<RealLocalizable>
equals
in class Object
obj
- The point to compare with this one.MaskPredicate.equals(Object)
,
equals(PointMask, PointMask)
static int hashCode(PointMask point)
point
- The point for which to compute the hash code.static boolean equals(PointMask pointMask1, PointMask pointMask2)
Two points are equal iff they have the same dimensionality and position.
pointMask1
- The first point to compare.pointMask2
- The second point to compare.Copyright © 2015–2022 ImgLib2. All rights reserved.