public interface RealPointCollection<L extends RealLocalizable> extends RealMaskRealInterval
RealMaskRealInterval
which defines a collection of real space points in n-d 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 collection describes the same region as
another one.
|
static boolean |
equals(RealPointCollection<?> points1,
RealPointCollection<?> points2)
Determines whether two point collections describe the same region.
|
static int |
hashCode(RealPointCollection<?> points)
Computes a hash code for a point collection.
|
default Class<?> |
maskType()
Returns the type of the mask.
|
Iterable<L> |
points()
Returns the points in the collection.
|
long |
size()
Returns the number of points in the collection.
|
and, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xor
isAll, knownConstant
numDimensions
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMin
long size()
default Class<?> maskType()
MaskPredicate
equality
and
hashing
.maskType
in interface MaskPredicate<RealLocalizable>
default BoundaryType boundaryType()
MaskPredicate
boundaryType
in interface MaskPredicate<RealLocalizable>
boolean equals(Object obj)
equals
in interface MaskPredicate<RealLocalizable>
equals
in class Object
obj
- The point collection to compare with this one.MaskPredicate.equals(Object)
,
equals(RealPointCollection, RealPointCollection)
static int hashCode(RealPointCollection<?> points)
points
- The point collection for which to compute the hash code.static boolean equals(RealPointCollection<?> points1, RealPointCollection<?> points2)
Two point collections are equal iff they have the same dimensionality and vertices.
points1
- The first point collection to compare.points2
- The second point collection to compare.Copyright © 2015–2022 ImgLib2. All rights reserved.