How to detect the intersection of a line and an arc? #462
-
hi. clipper.AddClipOpen(paths);//save a arc PathsD open; clipper.Execute(ClipType::Intersection, FillRule::NonZero, polyPath, open); Am I using this correctly? |
Beta Was this translation helpful? Give feedback.
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). |
Beta Was this translation helpful? Give feedback.
-
Clip paths can't be open, only Subject paths.
|
Beta Was this translation helpful? Give feedback.
Clip paths can't be open, only Subject paths.