Sorting edge points laying on inclined plane

I am facing a problem to get the edge points. Here is the screenshot. The points are laying on one plane and i wanted onyl the extreme edge points. Is there any test feasble for this one in Grasshopper?

1 Like

Thank you very much. This was my first post. I will take care for future interactions. I however found the solution as well by my own. I am also attaching the gh file for your informations.
Here is the screen shot of the GH.If you know any better way, kindyl share as well.
Thanks.
Top_caping_sorting_points.gh (143.1 KB)