polygon-splitter icon indicating copy to clipboard operation
polygon-splitter copied to clipboard

Wrong result when polyline point coincides with a polygon point

Open wi1k1n opened this issue 2 years ago • 2 comments

Hi. First of all, thanks a lot for all the effort of implementation and bug-fixing, highly appreciated!

I've accidentally found an edge case, where the splitting fails to achieve the correct result (0.0.11 version). The problem happens, when trying to split a polygon with a polyline, whose point coincides with one of the polygon. Please, have a quick look to the snippet showing the case: https://jsfiddle.net/wi1k1n/zp9a7fnq/3/ (shapes are drag&drop capable, press "S" to split).

wi1k1n avatar Oct 25 '22 22:10 wi1k1n

Thanks for the nice reproducible test case @wi1k1n , I'll take a look when I get a chance.

rowanwins avatar Oct 25 '22 22:10 rowanwins

@rowanwins Is there a chance to fix the bug in the near future?