I am trying to get a set of closed curves out of a group of both closed and open curves in c# as in “Curve Boolean” commend in rhino. Please see the attached image where I select all curves and set the inner region to get separate closed curves.
Thanks for the definition. I meant from “open and closed curves”. Please see attached - there are one closed curve (cyan) and two open curves (magenta), and what I want to do in c# is to get closed curves (blue - offset is just to make them visible).
BTW: The “general” (kinda) case is faaaaar more tricky and requires containment clustering: as a challenge try to do something about that. Curve_ToRegions_EntryLevel_V1B.gh (126.7 KB)