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

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

Returns OdDgBSplineCurve2d approximation of this Curve object.

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