public class DefaultWritablePointMask extends RealPoint implements WritablePointMask
WritablePointMask specified by the given location.positionn| Constructor and Description |
|---|
DefaultWritablePointMask(double[] pt)
Creates a
WritablePointMask with given array, such that only that
location is contained in the Mask. |
DefaultWritablePointMask(RealLocalizable pt)
Creates a
WritablePointMask with the given point, such that only
that point is contained in the Mask. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Determines whether this point describes the same region as another one.
|
int |
hashCode() |
boolean |
test(RealLocalizable l) |
bck, fwd, move, move, move, move, move, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, toString, wrapgetDoublePosition, getFloatPosition, localize, localizenumDimensionsclone, finalize, getClass, notify, notifyAll, wait, wait, waitboundaryType, equals, hashCode, maskType, realMax, realMinand, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xorisAll, knownConstantnumDimensionsmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointgetDoublePosition, getFloatPosition, localize, localize, localize, positionAsDoubleArray, positionAsRealPointmove, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPositionbck, fwd, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPositionpublic DefaultWritablePointMask(RealLocalizable pt)
WritablePointMask with the given point, such that only
that point is contained in the Mask. The dimensionality of the
space is determined by the number of dimensions of pt.pt - The point which the mask should contain.public DefaultWritablePointMask(double[] pt)
WritablePointMask with given array, such that only that
location is contained in the Mask.pt - Array containing the location of the point in n-d space, where
n is the array length. A copy of this array is stored.public boolean test(RealLocalizable l)
test in interface Predicate<RealLocalizable>public boolean equals(Object obj)
PointMaskequals in interface PointMaskequals in interface MaskPredicate<RealLocalizable>equals in class RealPointobj - The point to compare with this one.MaskPredicate.equals(Object),
PointMask.equals(PointMask, PointMask)Copyright © 2015–2022 ImgLib2. All rights reserved.