IntervalsSet
| Modifier and Type | Field and Description |
|---|---|
| private final double | lower
The lower bound of the interval. |
| private final double | upper
The upper bound of the interval. |
| Access | Constructor and Description |
|---|---|
| public | Interval(final double
lower bound of the interval lower, final double upper bound of the interval upper)Simple constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public Region. | Returns: a code representing the point status: eitherLocation#INSIDE, Location#OUTSIDE or Location#BOUNDARYpoint to check point, final double tolerance below which points are considered to
belong to the boundary tolerance)Check a point with respect to the interval. |
| public double | |
| public double | |
| public double | |
| public double | |
| public double | Returns: midpoint of the interval
Deprecated
as of 3.1, replaced by
getBarycenter()
Get the midpoint of the interval. |
| public double | |
| public double | |
| public double |
| lower | back to summary |
|---|---|
| private final double lower The lower bound of the interval. | |
| upper | back to summary |
|---|---|
| private final double upper The upper bound of the interval. | |
| Interval | back to summary |
|---|---|
| public Interval(final double lower, final double upper) Simple constructor.
| |
| checkPoint | back to summary |
|---|---|
| public Region. Check a point with respect to the interval.
| |
| getBarycenter | back to summary |
|---|---|
| public double getBarycenter() Get the barycenter of the interval.
| |
| getInf | back to summary |
|---|---|
| public double getInf() Get the lower bound of the interval.
| |
| getLength | back to summary |
|---|---|
| public double getLength()
Deprecated as of 3.1, replaced by Get the length of the interval.
| |
| getLower | back to summary |
|---|---|
| public double getLower()
Deprecated as of 3.1, replaced by Get the lower bound of the interval.
| |
| getMidPoint | back to summary |
|---|---|
| public double getMidPoint()
Deprecated as of 3.1, replaced by Get the midpoint of the interval.
| |
| getSize | back to summary |
|---|---|
| public double getSize() Get the size of the interval.
| |
| getSup | back to summary |
|---|---|
| public double getSup() Get the upper bound of the interval.
| |
| getUpper | back to summary |
|---|---|
| public double getUpper()
Deprecated as of 3.1, replaced by Get the upper bound of the interval.
| |