public interface SuperEllipsoid extends RealMaskRealInterval
RealMaskRealInterval
which defines an n-d superellipsoid.Modifier and Type | Method and Description |
---|---|
RealLocalizable |
center()
Returns the center of the superellipsoid
|
boolean |
equals(Object obj)
Determines whether this superellipsoid describes the same region as
another one.
|
static boolean |
equals(SuperEllipsoid ellipsoid1,
SuperEllipsoid ellipsoid2)
Determines whether two superellipsoid describe the same region.
|
double |
exponent()
Returns the exponent of this superellipsoid
|
static int |
hashCode(SuperEllipsoid ellipsoid)
Computes a hash code for a superellipsoid.
|
default Class<?> |
maskType()
Returns the type of the mask.
|
double |
semiAxisLength(int d)
Returns the semi-axis length of the superellipsoid in a given dimension d
|
and, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xor
boundaryType, isAll, knownConstant
numDimensions
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMin
double exponent()
double semiAxisLength(int d)
RealLocalizable center()
default Class<?> maskType()
MaskPredicate
equality
and
hashing
.maskType
in interface MaskPredicate<RealLocalizable>
boolean equals(Object obj)
equals
in interface MaskPredicate<RealLocalizable>
equals
in class Object
obj
- The superellipsoid to compare with this one.MaskPredicate.equals(Object)
,
equals(SuperEllipsoid, SuperEllipsoid)
static int hashCode(SuperEllipsoid ellipsoid)
ellipsoid
- The superellipsoid for which to compute the hash code.static boolean equals(SuperEllipsoid ellipsoid1, SuperEllipsoid ellipsoid2)
Two superellipsoids are equal iff they have the same dimensionality, boundary type, exponent, semi-axis lengths and positions.
ellipsoid1
- The first superellipsoid to compare.ellipsoid2
- The second superellipsoid to compare.Copyright © 2015–2022 ImgLib2. All rights reserved.