geometry
geometry copied to clipboard
Difference returns wrong result if hole touch the boundary of subtrahend
Hello
Actual result: Purple - orange = green.
Expected result: blue
I noticed that the problem was added in 1.77->1.78. Related PR could be: https://github.com/boostorg/geometry/pull/887
https://godbolt.org/z/s7zKKbG61
Thanks for the report and the potential related PR, I can reproduce it. Clockwise is fine, but counter clockwise is wrong.
Fixed by https://github.com/boostorg/geometry/pull/1263