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
For some reason poly2tri creates a segmentation fault when I ask it to create
the triangulation of a very simple geometry. I've attached a .cpp file to
reproduce the error and a .svg file which shows the geometry.
The file was compiled with Clang 3.4 using std=c++11 on linux. Hope I have not
forgotten something important.
Raffael
Original issue reported on code.google.com by [email protected] on 19 May 2014 at 12:00
Using http://r3mi.github.io/poly2tri.js/ i added the geometry.svg
<path d="M 0,0 L 0,400 L 108,399 L 199,319 L 360,400 L 400,400 z "/> as contour
and triangulated without problems.
for optimal stability you should center your data around 0 and scale it in the
range -1,1 and round it to 12 decimals.
Original issue reported on code.google.com by
[email protected]
on 19 May 2014 at 12:00Attachments:
The text was updated successfully, but these errors were encountered: