I need to cut a Curve in a point3d.

I´m using C#.

I have a curve and I have a Point3d and I know that this Point3d belongs to the curve.

How I can cut the Point3d and the curve start with this point?

I need to cut a Curve in a point3d.

I´m using C#.

I have a curve and I have a Point3d and I know that this Point3d belongs to the curve.

How I can cut the Point3d and the curve start with this point?

The approach i would use is to determine the parameter of the curve that corresponds to the point using ClosestPoint method. Then use the Split method with that parameter.

http://4.rhino3d.com/5/rhinocommon/html/M_Rhino_Geometry_Curve_ClosestPoint.htm

http://4.rhino3d.com/5/rhinocommon/html/M_Rhino_Geometry_Curve_Split_3.htm

1 Like

See of this example is helpful (or not).

https://github.com/dalefugier/SampleCsCommands/blob/master/SampleCsSplitCurve.cs

1 Like

Thank you. It´s perfect.