Curve not closed contains Point3d

I need to know if a curve contains a point3d in a curve not closed.

Hi Salvam,

I can see you are using C# so can’t help you with the syntax.
But you can try closing your curve (and if this method fails, you can always make a straight line from start and end of your curve, then join that straight line with your curve). Then just check for the point inclusion, like you would do with any other closed curve.