mirror of https://github.com/CGAL/cgal
Fix for two identical points. Must be checked with André
This commit is contained in:
parent
016dfbfe07
commit
4671ed9ebd
|
|
@ -76,6 +76,11 @@ fill_lambda(const Point& circle_center,
|
|||
}
|
||||
c -= CGAL::square(typename Traits::FT(radius));
|
||||
|
||||
if(is_zero(a)){
|
||||
I = std::make_pair(Lambda<C>(0), Lambda<C>(1));
|
||||
return true;
|
||||
}
|
||||
|
||||
FT minus_b_div_a = b / a;
|
||||
FT d = CGAL::square(minus_b_div_a) - c / a;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue