What is the script equivalent for point in curve component

Hi,
I’m trying to mimic the effect of the point in curve component in C# but am unable to find any method or class to do so. It would be helpful if anyone could suggest any method or any reference link to do so…,
Thank you.

Hi

Could this be what you are looking for:
https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Curve_Contains_2.htm

-Willem

Screen Shot 052

Yes, Thanks a lot.