Replies: 1 comment
-
|
You've likely already found this on your own, but since nobody has replied.. From the PolyTree64 documentation:
It doesn't make sense to put open paths into a PolyTree object, since open paths can't contain other objects (which is kind of the whole point of using a PolyTree in the first place; to capture the parent/child relationships of result polygons) You want to instead call the variant of cl2.Execute() with a Paths64 object to receive the results, instead of using a PolyTree64; that should give you the open path segments you want. (also, it'll probably be faster!) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
While trying to convert my code that is currently using the Clipper library to Clipper2 I noticed a difference between these two libraries when performing a polygon difference operation. The following (test)code gives me the expected result when using the 'Clipper' library, but the result with Clipper2 remains empty.
using Clipper:
using Clipper2:
Any insights or suggestions on what might be causing this ? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions