I am using the c# version of Clipper. I would like to clip a closed subj path with a closed clip path, but have the result be multiple open lines. For example, slicing say a star shape into two parts with a long rectangle, but what is left of the two sides of the subj shape is two open lines.
In this clipping question, Angus said that the lines to be clipped must be open in order for the results to be open. Is there a way to do the clipping operation with two closed paths? As a workaround, I was thinking I could do a simple difference of the two closed paths and then traverse the result. Each time I find a vertex not contained in the subj path, then start a new path with the next vert. When I get to the end, join the first path to the end of the last path found. Is there another way?