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, verticesand, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xorboundaryType, isAll, knownConstantmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMindefault Class<?> maskType()
MaskPredicateequality and
hashing.maskType in interface MaskPredicate<RealLocalizable>default int numDimensions()
EuclideanSpacenumDimensions in interface EuclideanSpaceboolean equals(Object obj)
equals in interface MaskPredicate<RealLocalizable>equals in class Objectobj - 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.