You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem has been with us for a while. It did not occur in 1.55.0/1.59.0, then it did occur in 1.63.0/1.64.0/1.66.0, and was fixed in 1.67.0, see: https://svn.boost.org/trac10/ticket/12752
It then did not occur in 1.75.0, and now occurred again in 1.79.0.
My "tc::geo::polygon" type is actually a multi-polygon, using a polygon type that is based on int, oriented counter-clockwise and open (not closed). I am using boost 1.79.0. Please consider the following example:
I can reproduce it, and I am looking into it. If I make all coordinates 10 times larger, the output looks similar but is valid. My theory is that because of the intersection points (which are rounded to the integer grid), in some cases invalid parts can appear. I will look further into this next week, but this is not easy to fix.
This is also why it occurs again now, because we round coordinates a bit differently than before. That fixed some issues, but indeed might change other issues as well.
Most probably the same happens your issue #1035 (but I did not try that one today).
This problem has been with us for a while. It did not occur in 1.55.0/1.59.0, then it did occur in 1.63.0/1.64.0/1.66.0, and was fixed in 1.67.0, see: https://svn.boost.org/trac10/ticket/12752
It then did not occur in 1.75.0, and now occurred again in 1.79.0.
My "tc::geo::polygon" type is actually a multi-polygon, using a polygon type that is based on int, oriented counter-clockwise and open (not closed). I am using boost 1.79.0. Please consider the following example:
The difference of two valid multi-polygons yields an invalid multi-polygon.
See also:
The text was updated successfully, but these errors were encountered: