public abstract class AbstractWritableEllipsoid extends AbstractWritableSuperEllipsoid implements WritableEllipsoid
WritableEllipsoid implementations.center, exponent, semiAxisLengthsn| Constructor and Description |
|---|
AbstractWritableEllipsoid(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 |
|---|---|
protected double |
distancePowered(RealLocalizable l)
Computes the unit distance squared between a given location and the
center of the ellipsoid.
|
void |
setExponent(double exponent)
Ellipsoids have exponents of 2.
|
center, equals, exponent, hashCode, realMax, realMin, semiAxisLength, setSemiAxisLengthnumDimensionsclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcenter, setSemiAxisLengthequals, equals, exponent, hashCode, maskType, semiAxisLengthand, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xorboundaryType, isAll, knownConstantmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMinpublic AbstractWritableEllipsoid(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 void setExponent(double exponent)
setExponent in interface WritableEllipsoidsetExponent in interface WritableSuperEllipsoidsetExponent in class AbstractWritableSuperEllipsoidUnsupportedOperationException - Ellipsoids, by definition, have an exponent of 2protected double distancePowered(RealLocalizable l)
distancePowered in class AbstractWritableSuperEllipsoidl - location to checkCopyright © 2015–2022 ImgLib2. All rights reserved.