API Reference > OdDg Classes > OdDgCurveElement2dPE Class > OdDgCurveElement2dPE Methods > OdDgCurveElement2dPE::getSpline Method
OdDgCurveElement2dPE::getSpline Method
Syntax
C++
virtual OdResult getSpline(const OdDgCurveElement2d* pCurve, OdDgBSplineCurve2dPtr& spline) const = 0;
Parameters 
Description 
const OdDgCurveElement2d* pCurve 
[in] Pointer to the curve.  
OdDgBSplineCurve2dPtr& spline 
[out] Receives a SmartPointer to the OdDbSpline. 

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

Returns an OdDbSpline approximation of the specified Curve object. 

 

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