Replies: 2 comments
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hi there. Yes I did look at dissolve, but to be honest I don't really understand what exactly dissolve is doing (and my best recollection was that it also failed to compile unfortunately). Can I read about dissolve somewhere? I think fixing |
Beta Was this translation helpful? Give feedback.
-
I have a set of unoriented
ring
s, possibly (self-)intersecting, and I want to construct amulti_polygon
from them, by just simply assuming that:I figured that, if I can convert each ring on its own to a polygon, then
sym_difference
should resolve intersections nicely, and give me what I want. However, sym_difference can't work with self-intersecting rings (assertion hit), so I am trying to figure out the easiest way to fix the self-intersections first.I think the best way to handle self-intersections in my case is to split the rings, so looking around I found
split_rings.hpp
. However:detail::overlay::turn_operation
is used without its template parameters.self_turns
directly.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions