- New member function .is_point() {return (inf == sup);}.

This commit is contained in:
Sylvain Pion 1999-03-03 09:46:43 +00:00
parent f69b19e8ea
commit d24e34bf46
1 changed files with 2 additions and 0 deletions

View File

@ -172,6 +172,8 @@ public:
bool is_same (const IA & d) const
{ return (inf == d.inf) && (sup == d.sup); }
bool is_point() const { return (sup == -inf); }
bool overlap (const IA & d) const
{ return !((-d.inf > sup) || (d.sup < -inf)); }