Skip to content

Equivalent to PolyNode->IsOpen() in V2? #301

Discussion options

You must be logged in to vote

Hi Eric, and welome to Clipper2 Discussion.
As the documentation states, Polytrees (in Clipper2) will never contain open paths.
If the clipping op includes open paths, then Clipper64/ClipperD's Execute will return them via a separate Paths64/PathsD parameter.
I made this change from Clipper1 because open paths will never be contained by or will themselves contain other paths, so it made no sense including them in Polytree objects.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@EricAtPlanGrid
Comment options

Answer selected by EricAtPlanGrid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants