How should I get rid of everything outside of the boundary curve?

In Rhino, there is a component “Point in Curve”, it can get rid of point outside of the boundary curve, like this:

Question03 Question02

<span style=“color: #7f7f7f;”>In Dynamo, how should I do? </span>

Dynamo gives you a lot of options to do common tasks. I’d recommend “Geometry.Intersect” .