API Reference > Classes > Essential_Classes > OdBmCurveElem Class > OdBmCurveElem Methods > OdBmCurveElem::createNurbSpline Method (OdUInt32, OdGeKnotVector, OdGePoint3dArray)
OdBmCurveElem::createNurbSpline Method (OdUInt32, OdGeKnotVector, OdGePoint3dArray)
Syntax
C++
OdResult createNurbSpline(OdUInt32 degree, OdGeKnotVector knots, OdGePoint3dArray controlPoints);
Parameters 
Description 
OdUInt32 degree 
[in] Input spline degree value.  
OdGeKnotVector knots 
[in] Input array of knots.  
OdGePoint3dArray controlPoints 
[in] Input array of spline control points.
 

eOk if the operation completed successfully, or an appropriate error code otherwise.

Creates a NURB spline. 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.