1.2.2
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::Interval ( double  vmin = TEST,
double  vmax = TEST,
bool  mininc = true,
bool  maxinc = false 
)
Interval::Interval ( const Interval m)
Interval::~Interval ( )
virtual

Member Function Documentation

VectorDouble Interval::getBounds ( ) const
bool Interval::getMaxIncluded ( ) const
inline
bool Interval::getMinIncluded ( ) const
inline
double Interval::getVmax ( ) const
inline
double Interval::getVmin ( ) const
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
bool Interval::isMaxDefined ( ) const
inline
bool Interval::isMinDefined ( ) const
inline
bool Interval::isOutsideAbove ( double  value) const
bool Interval::isOutsideBelow ( double  value) const
bool Interval::isValid ( ) const
Interval & Interval::operator= ( const Interval m)
void Interval::setMaxIncluded ( bool  maxIncluded)
inline
void Interval::setMinIncluded ( bool  minIncluded)
inline
void Interval::setVmax ( double  vmax)
inline
void Interval::setVmin ( double  vmin)
inline
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: