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
the answer from predicates.c is certainly completely wrong. It returns 0 and that would mean the 3 points are collinear, and they are clearly not.
The 3 points abc, in that order, have a CCW orientation, which should be positive, which is what exactpred.rs returns.
Either predicates.c is wrong (which I doubt), or you didn't setup correctly the constant for your compiler, see details here.
The text was updated successfully, but these errors were encountered:
I tried using the predicates.c from Prof. Shewchuk's page, and for the above input, it gives: 4205279958339305235667746816.000000. I think exactpred.rs may be quite right !
From @hugoledoux's comment:
Regarding incorrect results when input is as follows:
The text was updated successfully, but these errors were encountered: