How to detect the intersection of a line and an arc? #462
Answered
by
AngusJohnson
helloworld1l
asked this question in
Q&A
|
hi. clipper.AddClipOpen(paths);//save a arc PathsD open; clipper.Execute(ClipType::Intersection, FillRule::NonZero, polyPath, open); Am I using this correctly? |
Answered by
AngusJohnson
Mar 24, 2023
Replies: 2 comments 1 reply
|
It looks fine. However, I suggest you avoid the PolyTreeD (PolyPathD) structure in favour of PathsD since there will be no closed paths in the solutions (given you're only intersecting with open paths). |
1 reply
|
Clip paths can't be open, only Subject paths.
|
0 replies
Answer selected by
helloworld1l
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clip paths can't be open, only Subject paths.