Hi Remco, I guess that is okay (though not really ideal). I meant more at the beginning - I might have two arcs that share a vertex (e.g. a half moon shape). If the half moon has not been affected by the clipping operation I want to be able to recover the original arcs. I have been using a Z coordinate with two elements: one for the index of the first arc, and one for the index of the second. e.g. Z = arc1 << 32 | arc2 & 0xFFFF but it feels a bit complicated. I was just curious if people had another...
Thank you for the answer Remco. As I understand, the Z coordinate can only be used on points, not segments. How do you handle the situation where two arcs intersect (i.e. the intersection point is "shared" between the two arcs)
I note that the documentation has a FAQ section (http://www.angusj.com/delphi/clipper/documentation/Docs/Overview/FAQ.htm) which states that in order to pass them through Clipper, they need to be flattened first and later reconstructed. There is mention of a file "CurvesDemo" but I cannot find it. It appears that it was deleted. I understand how to flatten, but how can the shapes be recovered post clipper adequately, especially when there are intersections happening in the middle of arc shapes, for...
Missing "CurvesDemo"