KrisLibrary
1.0.0
|
A closed interval [a,b]. More...
#include <Interval.h>
Public Member Functions | |
ClosedInterval (Real a, Real b) | |
void | setIntersection (const ClosedInterval &i, const ClosedInterval &j) |
void | setUnion (const ClosedInterval &i, const ClosedInterval &j) |
void | expand (Real x) |
bool | isEmpty () const |
bool | contains (Real x) const |
bool | contains (const Interval &) const |
bool | intersects (const ClosedInterval &) const |
bool | intersects (const OpenInterval &) const |
Public Member Functions inherited from Math::Interval | |
Interval (Real a, Real b) | |
void | set (Real a, Real b) |
void | setFull () |
void | setEmpty () |
bool | isFull () const |
Additional Inherited Members | |
Public Attributes inherited from Math::Interval | |
Real | a |
Real | b |
A closed interval [a,b].