clipper-java icon indicating copy to clipboard operation
clipper-java copied to clipboard

ClipperOffset seems to leave points outside sometimes

Open misan opened this issue 8 years ago • 4 comments

As this image shows:

image

But most of the time it works ok, as in this other:

image

Any clue? I understand that random cases might not the be best thing to throw at the library but I saw no such cases when using your GUI demo.

misan avatar Jun 11 '17 18:06 misan

May it be a problem of scale, as these numbers are quite small? I am repeating the test with larger numbers.

misan avatar Jun 11 '17 18:06 misan

Ok, while not happening some often, I can still see the same issue using larger integers. image

misan avatar Jun 11 '17 19:06 misan

Maybe it would be better to submit a bug report to the original Clipper bug tracker? https://sourceforge.net/p/polyclipping/bugs/

marle avatar Jun 11 '17 19:06 marle

I am not sure same problem happens in other implementations. I will give it a shot in python too.

misan avatar Jun 11 '17 19:06 misan