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 input data has to high precision. Round the data to 12 decimals
The thing is you have 3 points on a line with y coordinates.
19, 19.000000000000004 and 19
poly2tri will try to form a triangle and it will be degenerate. You will have
to round your data within epsilon 1e-12 and also make sure that no two points
get the same coordinate after the rounding.
I suggest you paste your data and triangulate with this app. when you get
errors. Might give you the reason of the triangulation failure.
http://r3mi.github.io/poly2tri.js/
Original issue reported on code.google.com by
[email protected]
on 22 May 2014 at 7:49Attachments:
The text was updated successfully, but these errors were encountered: