# Change curve start and end point

Hello everyone,

I need to change closed curve start and end point. I have tried these functions:

ON_3dPoint start(‘some point of the curve’);
crv.SetStartPoint(start);
crv.SetEndPoint(start);

but it seams that this is not what I need, since when I look

PointAt(domainStart);

it is not the point that I said to be start point.

Does anyone has idea how can I do this?

Best
Dijana

I think you should use the ChangeClosedCurveSeam function, which takes the parameter to where the seam should move to.

Yes, this is what I needed.

Thanks Menno!