mirror of https://github.com/CGAL/cgal
Fix bug in inexact_orientation.
We use construction_point() instead of doing a fail addition between point and offset.
This commit is contained in:
parent
d1572615b5
commit
c05c4c56f1
|
|
@ -875,7 +875,10 @@ protected:
|
|||
const Offset& o_p, const Offset& o_q,
|
||||
const Offset& o_r, const Offset& o_s) const
|
||||
{
|
||||
return inexact_orientation(p+o_p, q+o_q, r+o_r, s+o_s);
|
||||
return inexact_orientation(construct_point(p, o_p),
|
||||
construct_point(q, o_q),
|
||||
construct_point(r, o_r),
|
||||
construct_point(s, o_s));
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
|
|||
Loading…
Reference in New Issue