polygon-splitter
polygon-splitter copied to clipboard
Wrong result when polyline point coincides with a polygon point
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).
Thanks for the nice reproducible test case @wi1k1n , I'll take a look when I get a chance.
@rowanwins Is there a chance to fix the bug in the near future?