|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.geometry.euclidean.oned.Interval
public class Interval
This class represents a 1D interval.
IntervalsSet| Constructor Summary | |
|---|---|
Interval(double lower,
double upper)
Simple constructor. |
|
| Method Summary | |
|---|---|
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 |
getLength()
Deprecated. as of 3.1, replaced by getSize() |
double |
getLower()
Deprecated. as of 3.1, replaced by getInf() |
double |
getMidPoint()
Deprecated. as of 3.1, replaced by getBarycenter() |
double |
getSize()
Get the size of the interval. |
double |
getSup()
Get the upper bound of the interval. |
double |
getUpper()
Deprecated. as of 3.1, replaced by getSup() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Interval(double lower,
double upper)
lower - lower bound of the intervalupper - upper bound of the interval| Method Detail |
|---|
public double getInf()
@Deprecated public double getLower()
getInf()
public double getSup()
@Deprecated public double getUpper()
getSup()
public double getSize()
@Deprecated public double getLength()
getSize()
public double getBarycenter()
@Deprecated public double getMidPoint()
getBarycenter()
public Region.Location checkPoint(double point,
double tolerance)
point - point to checktolerance - tolerance below which points are considered to
belong to the boundary
Region.Location.INSIDE, Region.Location.OUTSIDE or Region.Location.BOUNDARY
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||