public class UnmodifiablePolylineRoiWrapper extends AbstractPolygonRoiWrapper implements Polyline
PolygonRoi
of type Roi.FREELINE
and
Roi.ANGLE
as an unmodifiable ImgLib2 Polyline
.Constructor and Description |
---|
UnmodifiablePolylineRoiWrapper(PolygonRoi poly)
Wraps an ImageJ 1.x
PolygonRoi as an ImgLib2 Polyline . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
test(RealLocalizable t) |
RealLocalizable |
vertex(int pos) |
getRoi, numDimensions, numVertices, realMax, realMin
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
boundaryType, hashCode, maskType
equals, numVertices, vertices
and, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xor
isAll, knownConstant
numDimensions
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMin
public UnmodifiablePolylineRoiWrapper(PolygonRoi poly)
PolygonRoi
as an ImgLib2 Polyline
.poly
- the PolygonRoi
to be wrappedpublic boolean test(RealLocalizable t)
test
in interface Predicate<RealLocalizable>
public RealLocalizable vertex(int pos)
public boolean equals(Object obj)
equals
in interface Polyline
equals
in interface MaskPredicate<RealLocalizable>
equals
in class Object
Copyright © 2014–2022 ImageJ. All rights reserved.