public class OpenWritableSphere extends AbstractWritableSphere
Sphere
which does not contain any boundary points.center, radius
n
Constructor and Description |
---|
OpenWritableSphere(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 OpenWritableSphere(double[] center, double radius)
center
- Point where the sphere is centeredradius
- Radius of the sphere, must be positive and non-zero. A zero
radius would result in an empty region.public boolean test(RealLocalizable l)
public BoundaryType boundaryType()
MaskPredicate
Copyright © 2015–2022 ImgLib2. All rights reserved.