Public Member Functions | |
Interval (double aLeftPoint, double aRightPoint, int aLeftStatus=0, int aRightStatus=0) | |
Interval (const Interval &aInterval) | |
Interval & | operator= (const Interval &aInterval) |
Bool | operator== (const Interval &aInterval) const |
Bool | operator!= (const Interval &aInterval) const |
void | Print () const |
double | GetLeftPoint () const |
double | GetRightPoint () const |
double | GetLength () const |
int | GetLeftStatus () const |
int | GetRightStatus () const |
void | SetLeftPoint (double aLeftPoint) |
void | SetRightPoint (double aRightPoint) |
void | SetLeftStatus (int aLeftStatus) |
void | SetRightStatus (int aRightStatus) |
Bool | IsEmpty () const |
Friends | |
Bool | NextTo (const Interval &Lhs, const Interval &Rhs) |
Interval | Union (const Interval &Lhs, const Interval &Rhs) |
Interval | Intersect (const Interval &Lhs, const Interval &Rhs) |
int | compare (const Interval &Lhs, const Interval &Rhs) |
ostream & | operator<< (ostream &aOstream, const Interval &aInterval) |
istream & | operator>> (istream &aIstream, Interval &aInterval) |
Definition at line 45 of file Interval.h.