hxGeomAlgo icon indicating copy to clipboard operation
hxGeomAlgo copied to clipboard

Visibility bug corner case?

Open azrafe7 opened this issue 8 years ago • 2 comments

This polygon is not correctly decomposed by SnoeyinkKeil (it's a particular of big.png test image):

big_particular

decomp: vis_issue

poly points:

poly = [32,3, 18,9, 16,9, 17,6, 14,8, 9,4, 9,9, 0,12, 0,15, 12,12, 10,21, 20,15, 29,17, 21,12, 21,10, 32,7, 32,4 /*, 32,3*/];

It could also affect Bayazit, since now it's using Visibility.

Works fine with the original java implementation from Snoeyink it seems, so the problem must be on my side.

azrafe7 avatar Jun 08 '16 22:06 azrafe7

Note to self: check popVisible().

azrafe7 avatar Jun 08 '16 22:06 azrafe7

To anyone reading the issue: if you encounter a similar problem please post your findings here, as I'd really like to narrow it down and fix it!

azrafe7 avatar Jul 07 '16 23:07 azrafe7