Determining the points in a closed curve


I have more than 100 points and about 30 closed curves. I want to determine, which points are locating in a certain curve, by selecting the curve or typing the name of it. Each point and curve has its own name.

Thank you very much.


You probably want to use the PointInPlanarClosedCurve() method… Feed it the curve and all the points in a loop, keep the ones that return True. Also done with 3 components in Grasshopper… --Mitch

echoing Helvetosaur’s solution
all the result 2s are points in curve. 0 means outside.

Thanks guys… It was helpful :slight_smile: