1 #ifndef MATH_INTERVAL_SET_H 2 #define MATH_INTERVAL_SET_H 11 typedef std::vector<OpenInterval> BaseT;
12 typedef std::vector<ClosedInterval> ClosedBaseT;
14 inline void SetFull() { resize(1); (*this)[0].setFull(); }
15 inline void SetEmpty() { clear(); }
16 void Union(
const BaseT&);
17 void Intersect(
const BaseT&);
18 void Subtract(
const ClosedBaseT&);
26 typedef std::vector<ClosedInterval> BaseT;
27 typedef std::vector<OpenInterval> OpenBaseT;
29 inline void SetFull() { resize(1); (*this)[0].setFull(); }
30 inline void SetEmpty() { clear(); }
31 void Union(
const BaseT&);
32 void Intersect(
const BaseT&);
33 void Subtract(
const OpenBaseT&);
An open interval (a,b)
Definition: Interval.h:31
A closed interval [a,b].
Definition: Interval.h:49
Definition: IntervalSet.h:9
Definition: IntervalSet.h:24
Contains all definitions in the Math package.
Definition: WorkspaceBound.h:12