API Reference > OdDg Classes > OdDgCurveElement3d Class > OdDgCurveElement3d Methods > OdDgCurveElement3d::getSpline Method
OdDgCurveElement3d::getSpline Method
Syntax
C++
virtual OdResult getSpline(OdDgBSplineCurve3dPtr& spline) const;
Parameters 
Description 
OdDgBSplineCurve3dPtr& spline 
[out] Receives a pointer to the OdGeNurbCurve3d. 

Returns eOk if successful, or an appropriate error code if not.

Returns OdDgBSplineCurve3d approximation of this Curve object.

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