public interface Polyshape extends RealMaskRealInterval
RealMaskRealInterval
which defines a polygonal shape in n-d space.Modifier and Type | Method and Description |
---|---|
static boolean |
equals(Polyshape polyshape1,
Polyshape polyshape2)
Determines whether two polyshapes describe the same region.
|
int |
numVertices()
Returns the number of vertices in the shape.
|
RealLocalizable |
vertex(int pos)
Returns the vertex at the specified position.
|
default List<RealLocalizable> |
vertices() |
and, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xor
boundaryType, equals, isAll, knownConstant, maskType
numDimensions
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMin
RealLocalizable vertex(int pos)
int numVertices()
default List<RealLocalizable> vertices()
static boolean equals(Polyshape polyshape1, Polyshape polyshape2)
Two polyshapes are equal iff they have the same mask type, boundary type, dimensions and vertices.
polyshape1
- The first polyshape to compare.polyshape2
- The second polyshape to compare.Copyright © 2015–2022 ImgLib2. All rights reserved.