#include <Interval.hpp>
Public Member Functions | |
Interval (double vmin=TEST, double vmax=TEST, bool mininc=true, bool maxinc=false) | |
Interval (const Interval &m) | |
Interval & | operator= (const Interval &m) |
virtual | ~Interval () |
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
Interface for AStringable. More... | |
void | init (double vmin=TEST, double vmax=TEST, bool mininc=true, bool maxinc=false) |
bool | isMinDefined () const |
bool | isMaxDefined () const |
bool | isInside (double value) const |
bool | isOutsideBelow (double value) const |
bool | isOutsideAbove (double value) const |
double | getVmax () const |
void | setVmax (double vmax) |
double | getVmin () const |
void | setVmin (double vmin) |
bool | getMaxIncluded () const |
void | setMaxIncluded (bool maxIncluded) |
bool | getMinIncluded () const |
void | setMinIncluded (bool minIncluded) |
VectorDouble | getBounds () const |
bool | isValid () const |
bool | isDisjoint (const Interval &m) const |
Public Member Functions inherited from AStringable | |
AStringable () | |
AStringable (const AStringable &r) | |
AStringable & | operator= (const AStringable &r) |
virtual | ~AStringable () |
virtual void | display (const AStringFormat *strfmt=nullptr) const final |
virtual void | display (int level) const final |
Interval::Interval | ( | double | vmin = TEST , |
double | vmax = TEST , |
||
bool | mininc = true , |
||
bool | maxinc = false |
||
) |
Interval::Interval | ( | const Interval & | m | ) |
|
virtual |
VectorDouble Interval::getBounds | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
void Interval::init | ( | double | vmin = TEST , |
double | vmax = TEST , |
||
bool | mininc = true , |
||
bool | maxinc = false |
||
) |
bool Interval::isDisjoint | ( | const Interval & | m | ) | const |
bool Interval::isInside | ( | double | value | ) | const |
|
inline |
|
inline |
bool Interval::isOutsideAbove | ( | double | value | ) | const |
bool Interval::isOutsideBelow | ( | double | value | ) | const |
bool Interval::isValid | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Interface for AStringable.
Reimplemented from AStringable.