I have a set of closed curves from which I have extracted their centroids through the Area component.
I have split the centroids in three different lists (with some design criteria irrelevant to this post) and now that I have the three lists of points, I would like to generate the equivalent three lists of curves.

My question is, is there a way to choose the curves through their centroids?

I think i understand what you’re looking for; 3 sets of curves matching the centroids lists.
You could use the the pattern of the centroid list to sort the initial list with closed curves.

I am afraid that would not work in all cases as on the script that I am currently working on, the list of points have not occurred through Split but through more complex processes. I just uploaded this script as a simplified version to show where I am trying to get…

I am finally attaching the original script I am working on, where I tried both solutions
(Member Index & Point in Curve) and they appear to be giving me a random output.

As you will see on the script I have generated 3 lists of points, the blacks, the greys and the whites. From these points I want to generate the equivalent three lists of curves that these points correspond to (blacks, greys & whites).

Sorry for attaching this file in delay, hoped we could resolve it on the simplified version.