public class ClosedWritableEllipsoid extends AbstractWritableEllipsoid
Ellipsoid
which does not contain any edge points, defined by a
center and semi-axis lengths.center, exponent, semiAxisLengths
n
Constructor and Description |
---|
ClosedWritableEllipsoid(double[] center,
double[] semiAxisLengths)
Creates an n-d ellipsoid, where n is determined by the length of the
smaller array.
|
Modifier and Type | Method and Description |
---|---|
BoundaryType |
boundaryType()
Returns the boundary behavior of this Mask.
|
boolean |
test(RealLocalizable l) |
distancePowered, setExponent
center, equals, exponent, hashCode, realMax, realMin, semiAxisLength, setSemiAxisLength
numDimensions
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
center, setSemiAxisLength
equals, equals, exponent, hashCode, maskType, semiAxisLength
and, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xor
isAll, knownConstant
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMin
public ClosedWritableEllipsoid(double[] center, double[] semiAxisLengths)
center
- Array containing the positions in each dimension at which the
ellipsoid is centered. A copy of this array is stored.semiAxisLengths
- Array containing the lengths of the semi-axes in each
dimension. A copy of this array is stored.public boolean test(RealLocalizable l)
public BoundaryType boundaryType()
MaskPredicate
Copyright © 2015–2022 ImgLib2. All rights reserved.