Removing some points in list

As you can see in the attached file, some segmented points are out of curves. How can I remove the points in python that are out of the curve? For the iteration, more than 3 is out of curve.
Points.gh (14.6 KB)

Here’s a method using components to eliminate the points that fall outside the domain of your curves.

Points_re.gh (17.1 KB)

-Kevin

That is the solution, thank you.