mirror of https://github.com/CGAL/cgal
- New member function .is_point() {return (inf == sup);}.
This commit is contained in:
parent
f69b19e8ea
commit
d24e34bf46
|
|
@ -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)); }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue