API Reference > Classes > Essential_Classes > OdBmCurveElem Class > OdBmCurveElem Methods > OdBmCurveElem::createNurbSpline Method (OdUInt32, OdGeKnotVector, OdGePoint3dArray, OdDoubleArray)
OdBmCurveElem::createNurbSpline Method (OdUInt32, OdGeKnotVector, OdGePoint3dArray, OdDoubleArray)
Syntax
C++
OdResult createNurbSpline(OdUInt32 degree, OdGeKnotVector knots, OdGePoint3dArray controlPoints, OdDoubleArray weights);
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.  
OdDoubleArray weights 
[in] Input array of point weights.
 

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.