1.3.1
CCC
 
Interval Class Reference

#include <Interval.hpp>

Inheritance diagram for Interval:
AStringable

Public Member Functions

 Interval (double vmin=TEST, double vmax=TEST, bool mininc=true, bool maxinc=false)
 
 Interval (const Interval &m)
 
Intervaloperator= (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)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 

Constructor & Destructor Documentation

◆ Interval() [1/2]

Interval::Interval ( double  vmin = TEST,
double  vmax = TEST,
bool  mininc = true,
bool  maxinc = false 
)

◆ Interval() [2/2]

Interval::Interval ( const Interval m)

◆ ~Interval()

Interval::~Interval ( )
virtual

Member Function Documentation

◆ getBounds()

VectorDouble Interval::getBounds ( ) const

◆ getMaxIncluded()

bool Interval::getMaxIncluded ( ) const
inline

◆ getMinIncluded()

bool Interval::getMinIncluded ( ) const
inline

◆ getVmax()

double Interval::getVmax ( ) const
inline

◆ getVmin()

double Interval::getVmin ( ) const
inline

◆ init()

void Interval::init ( double  vmin = TEST,
double  vmax = TEST,
bool  mininc = true,
bool  maxinc = false 
)

◆ isDisjoint()

bool Interval::isDisjoint ( const Interval m) const

◆ isInside()

bool Interval::isInside ( double  value) const

◆ isMaxDefined()

bool Interval::isMaxDefined ( ) const
inline

◆ isMinDefined()

bool Interval::isMinDefined ( ) const
inline

◆ isOutsideAbove()

bool Interval::isOutsideAbove ( double  value) const

◆ isOutsideBelow()

bool Interval::isOutsideBelow ( double  value) const

◆ isValid()

bool Interval::isValid ( ) const

◆ operator=()

Interval & Interval::operator= ( const Interval m)

◆ setMaxIncluded()

void Interval::setMaxIncluded ( bool  maxIncluded)
inline

◆ setMinIncluded()

void Interval::setMinIncluded ( bool  minIncluded)
inline

◆ setVmax()

void Interval::setVmax ( double  vmax)
inline

◆ setVmin()

void Interval::setVmin ( double  vmin)
inline

◆ toString()

String Interval::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Interface for AStringable.

Reimplemented from AStringable.


The documentation for this class was generated from the following files: