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

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

Returns an OdDgBSplineCurve3d approximation of the specified Curve object. 

 

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