public class ClosedWritableSphere extends AbstractWritableSphere
Sphere
which contains all boundary points.center, radius
n
Constructor and Description |
---|
ClosedWritableSphere(double[] center,
double radius)
Creates an n-d sphere.
|
Modifier and Type | Method and Description |
---|---|
BoundaryType |
boundaryType()
Returns the boundary behavior of this Mask.
|
boolean |
test(RealLocalizable l) |
center, distancePowered, equals, exponent, hashCode, radius, realMax, realMin, semiAxisLength, setRadius, setSemiAxisLength
numDimensions
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
setExponent
equals, hashCode, maskType
and, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xor
isAll, knownConstant
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
public ClosedWritableSphere(double[] center, double radius)
center
- Point where the sphere is centeredradius
- Radius of the spherepublic boolean test(RealLocalizable l)
public BoundaryType boundaryType()
MaskPredicate
Copyright © 2015–2022 ImgLib2. All rights reserved.