diff --git a/Packages/Interval_arithmetic/include/CGAL/Interval_arithmetic.h b/Packages/Interval_arithmetic/include/CGAL/Interval_arithmetic.h index 025036580d0..9bd399c46cf 100644 --- a/Packages/Interval_arithmetic/include/CGAL/Interval_arithmetic.h +++ b/Packages/Interval_arithmetic/include/CGAL/Interval_arithmetic.h @@ -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)); }