public interface Polygon2D extends Polyshape
RealMaskRealInterval
which defines a real space 2D polygon.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether this polygon describes the same region as another one.
|
static int |
hashCode(Polygon2D polygon)
Computes a hash code for a polygon.
|
default Class<?> |
maskType()
Returns the type of the mask.
|
default int |
numDimensions()
Gets the space's number of dimensions.
|
equals, numVertices, vertex, vertices
and, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xor
boundaryType, isAll, knownConstant
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMin
default Class<?> maskType()
MaskPredicate
equality
and
hashing
.maskType
in interface MaskPredicate<RealLocalizable>
default int numDimensions()
EuclideanSpace
numDimensions
in interface EuclideanSpace
boolean equals(Object obj)
equals
in interface MaskPredicate<RealLocalizable>
equals
in class Object
obj
- The polygon to compare with this one.MaskPredicate.equals(Object)
,
Polyshape.equals(Polyshape, Polyshape)
static int hashCode(Polygon2D polygon)
polygon
- The polygon for which to compute the hash code.Copyright © 2015–2022 ImgLib2. All rights reserved.