public class Interval extends Object
IntervalsSet| Constructor and Description |
|---|
Interval(double lower,
double upper)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Region.Location |
checkPoint(double point,
double tolerance)
Check a point with respect to the interval.
|
double |
getBarycenter()
Get the barycenter of the interval.
|
double |
getInf()
Get the lower bound of the interval.
|
double |
getSize()
Get the size of the interval.
|
double |
getSup()
Get the upper bound of the interval.
|
public Interval(double lower,
double upper)
lower - lower bound of the intervalupper - upper bound of the intervalpublic double getInf()
public double getSup()
public double getSize()
public double getBarycenter()
public Region.Location checkPoint(double point, double tolerance)
point - point to checktolerance - tolerance below which points are considered to
belong to the boundaryRegion.Location.INSIDE, Region.Location.OUTSIDE or Region.Location.BOUNDARYCopyright © 2016–2017 Hipparchus.org. All rights reserved.