You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Segment_2::has_on can return the wrong answer given segments that are slightly off axis. In some cases, the order of the segment points changes the answer given.
We are getting the points passed to has_on from a projection to the segment's supporting line. The order of the segment points does not appear to change the projected point.
Replacing using Kernel = CGAL::Simple_cartesian<double>; by using Kernel = CGAL::Exact_predicates_exact_constructions_kernel; should fix the wrong results.
Issue Details
Segment_2::has_on
can return the wrong answer given segments that are slightly off axis. In some cases, the order of the segment points changes the answer given.We are getting the points passed to
has_on
from a projection to the segment's supporting line. The order of the segment points does not appear to change the projected point.Source Code
Environment
The text was updated successfully, but these errors were encountered: