API Reference > OdGe Classes > OdGeNurbCurve2d Class > OdGeNurbCurve2d Methods > OdGeNurbCurve2d::makeClosed Method
OdGeNurbCurve2d::makeClosed Method
Syntax
C++
OdGeNurbCurve2d& makeClosed();

Reference to this OdGeNurbCurve2d object.

Makes the opened spline closed, and returns a reference to this spline.

If this spline is already closed, then the method does nothing. Closed spline is made by creating a smooth spline between the first and the last points and joining it with the initial spline.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.