sallesviana / MeshIntersection

45 stars 11 forks source link

Apparent bug in the ear-clipping #6

Closed sallesviana closed 7 years ago

sallesviana commented 7 years ago

Apparently there is a bug in the ear-clipping when we intersect (LD_LIBRARY_PATH=. ./meshIntersectionSoS7_debugging ../../gts/thing10k/126284.stl.gts ../../gts/thing10k/703557.stl.gts 8 4 1 out.gts)

It seems that triangle 301, 530, 786 is not being retesselated correctly for some reason.

The problem is with the polygon 0 extracted from it

sallesviana commented 7 years ago

Fixed... the problem was in the update vertex function.