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) |
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, realMax, realMinand, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xorisAll, knownConstantnumDimensionsgetDoublePosition, getFloatPosition, localize, localizemove, 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>Copyright © 2009–2018 ImgLib2. All rights reserved.