Package | Description |
---|---|
fr.cnes.sirius.patrius.math.interval | |
fr.cnes.sirius.patrius.time |
Modifier and Type | Method and Description |
---|---|
ComparableInterval<T> |
ComparableInterval.extendTo(T value)
Returns the interval after extending it so that it includes (closed endpoint) or is
connected (open endpoint) to the specified value.
|
ComparableInterval<T> |
ComparableIntervalsList.getInclusiveInterval()
Returns the shortest interval that contains all the intervals of the list.
|
ComparableInterval<T> |
ComparableInterval.getIntersectionWith(ComparableInterval<T> interval)
Returns the intersection with another interval.
|
ComparableInterval<T> |
ComparableInterval.mergeTo(ComparableInterval<T> interval)
Returns this interval merged with another interval (if they can be merged).
|
Modifier and Type | Method and Description |
---|---|
int |
ComparableInterval.compareLowerEndTo(ComparableInterval<T> interval)
Compares the lower end point with the lower end point of the given interval.
|
int |
ComparableInterval.compareTo(ComparableInterval<T> interval)
Compares this interval with the specified interval.
|
int |
ComparableInterval.compareUpperEndTo(ComparableInterval<T> interval)
Compares the upper end point with the upper end point of the given interval.
|
ComparableInterval<T> |
ComparableInterval.getIntersectionWith(ComparableInterval<T> interval)
Returns the intersection with another interval.
|
ComparableIntervalsList<T> |
ComparableIntervalsList.getIntersectionWith(ComparableInterval<T> interval)
Returns the intersection between an interval and all the intervals of the list.
|
boolean |
ComparableInterval.includes(ComparableInterval<T> interval)
Returns true if this interval includes the other.
|
boolean |
ComparableIntervalsList.includes(ComparableInterval<T> interval)
Returns true if the provided interval is included in one of the intervals of the list.
|
boolean |
ComparableInterval.isConnectedTo(ComparableInterval<T> interval)
Returns true when this interval's lower end-point connects with another interval's upper
end-point.
|
ComparableInterval<T> |
ComparableInterval.mergeTo(ComparableInterval<T> interval)
Returns this interval merged with another interval (if they can be merged).
|
boolean |
ComparableInterval.overlaps(ComparableInterval<T> interval)
Returns true if the two intervals overlap.
|
boolean |
ComparableIntervalsList.overlaps(ComparableInterval<T> interval)
Returns true if the provided interval overlaps one of the intervals of the list.
|
Modifier and Type | Class and Description |
---|---|
class |
AbsoluteDateInterval
This class implements an interval based on the AbsoluteDate class,
using the ComparableInterval class. |
Constructor and Description |
---|
AbsoluteDateInterval(ComparableInterval<AbsoluteDate> interval)
|
AbsoluteDateInterval(ComparableInterval<Double> interval,
AbsoluteDate referenceDate)
|
Copyright © 2019 CNES. All rights reserved.