Fix bug in inexact_orientation.

We use construction_point() instead of doing a fail addition between
point and offset.
This commit is contained in:
Aymeric PELLE 2014-04-07 10:11:36 +02:00
parent d1572615b5
commit c05c4c56f1
1 changed files with 4 additions and 1 deletions

View File

@ -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: