Correct substitution for StrictlySimple from Clipper1 #569
-
Hi,
Clipper2 docu says: As I understand simple Union operation is enough to achieve similar effect? No other magic and flag flipping is needed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In Clipper1, the |
Beta Was this translation helpful? Give feedback.
In Clipper1, the
SimplifyPolygons
function performed aUnion
operation and also callsDoSimplePolygons
. This latter function checked polygons for non-adjacent matching vertices. These are likely to be places where polygons can be separated into two polygons (see here). Due to changes in Clipper2, I believe the need for this has been substantionally reduced, though I doubt is has been entirely eliminated. So far, I haven't seen the need to reimplement this functionality.