API Reference > OdDb Classes > OdDbCurvePE Class > OdDbCurvePE Methods > OdDbCurvePE::getSpline Method
OdDbCurvePE::getSpline Method
Syntax
C++
virtual OdResult getSpline(const OdDbCurve* pCurve, OdDbSplinePtr* spline) const = 0;
Parameters 
Description 
const OdDbCurve* pCurve 
[in] Pointer to the curve.  
OdDbSplinePtr* 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–2021. Open Design Alliance. All rights reserved.