5 #ifndef BALL_MATHS_PIECEWISEFUNCTION_H
6 #define BALL_MATHS_PIECEWISEFUNCTION_H
83 void setIntervals(const std::vector<
Interval>& intervals) ;
87 const std::vector<
Interval>& getIntervals() const ;
129 virtual
double operator () (
double x) const;
142 bool isInRange(
double x) const;
146 virtual
bool isValid() const;
159 virtual
void dump (std::ostream& s = std::cout,
Size depth = 0) const;
184 void calculateRange();