union bug, or am I doing something wrong? #548
-
I have a simple, closed, CCW triangle, that when I union with itself, I get an empty result, rather than the the same triangle, as I would expect. With slightly different vertices, I do get the expected result. I just wanted to make sure I was using the code correctly first. Here is a test that fails when I expect it to pass. The results.Count is zero:
However, if I uses these coordinates, the test passes:
Also, point sets like scaling of the failing test will pass:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
As expected. |
Beta Was this translation helpful? Give feedback.
As expected.
You need to scale appropriately to accommodate for rounding.