I
- interval type (Interval
or RealInterval
)B
- recursive type of this Bounds
public abstract class Bounds<I extends RealInterval,B extends Bounds<I,B>> extends Object
Specialized for RealInterval and Interval in nested subclasses
Bounds.IntBounds
and Bounds.RealBounds
.
TODO: explain how empty intervals are determined by min/max and how emptiness property is propagated.
Modifier and Type | Class and Description |
---|---|
static class |
Bounds.AbstractAdaptingInterval
Abstract base class which adapts to changes in source interval, leaving
Interval.min(int) and Interval.max(int) methods to be implemented by
derived classes. |
static class |
Bounds.AbstractAdaptingRealInterval
Abstract base class for bounds which adapt to changes in the source
interval, leaving
RealInterval.realMin(int) and RealInterval.realMax(int) methods
to be implemented by derived classes. |
static interface |
Bounds.BinaryBoundsOperator |
static class |
Bounds.IntBounds
Implement
Bounds for integer intervals. |
static class |
Bounds.IntersectionInterval
The intersection of two intervals.
|
static class |
Bounds.IntersectionRealInterval
The intersection of two intervals.
|
static class |
Bounds.RealBounds
Implement
Bounds for real intervals. |
static class |
Bounds.RealTransformRealInterval
The
Bounds for a transformed source. |
static class |
Bounds.SmallestContainingInterval
Represents the smallest
Interval completely containing a
specified RealInterval . |
static interface |
Bounds.UnaryBoundsOperator |
static class |
Bounds.UnionInterval
The union of two intervals.
|
static class |
Bounds.UnionRealInterval
The union of two intervals.
|
Modifier and Type | Field and Description |
---|---|
static Bounds.BinaryBoundsOperator |
AND |
static Bounds.BinaryBoundsOperator |
MINUS |
static Bounds.UnaryBoundsOperator |
NEGATE |
static Bounds.BinaryBoundsOperator |
OR |
static Bounds.BinaryBoundsOperator |
XOR |
Modifier and Type | Method and Description |
---|---|
B |
and(B that) |
protected abstract B |
intersectBounded(B arg0,
B arg1)
Intersection of two bounded
Bounds . |
I |
interval() |
boolean |
isUnbounded() |
B |
minus(B that) |
B |
negate() |
B |
or(B that) |
protected abstract B |
unbounded() |
protected abstract B |
unionBounded(B arg0,
B arg1)
Union of two bounded
Bounds . |
B |
xor(B that) |
public static final Bounds.BinaryBoundsOperator AND
public static final Bounds.BinaryBoundsOperator OR
public static final Bounds.UnaryBoundsOperator NEGATE
public static final Bounds.BinaryBoundsOperator XOR
public static final Bounds.BinaryBoundsOperator MINUS
protected Bounds(I interval)
public boolean isUnbounded()
public I interval()
protected abstract B intersectBounded(B arg0, B arg1)
Bounds
.protected abstract B unbounded()
public B negate()
Copyright © 2015–2022 ImgLib2. All rights reserved.