API Reference > Classes > Geometry Classes > OdBmGNurbSpline Class > OdBmGNurbSpline Methods > OdBmGNurbSpline::set Method (OdUInt32, OdGeKnotVector, OdGePoint3dArray, OdDoubleArray, OdInt32, OdInt32)
OdBmGNurbSpline::set Method (OdUInt32, OdGeKnotVector, OdGePoint3dArray, OdDoubleArray, OdInt32, OdInt32)
Syntax
C++
OdResult set(OdUInt32 degree, OdGeKnotVector knots, OdGePoint3dArray controlPoints, OdDoubleArray weights, const OdInt32 aTag = 0, const OdInt32 aFlags = OdBm::GInfoFlags::IsCurveBounded | OdBm::GInfoFlags::Default);
Parameters 
Description 
OdUInt32 degree 
[in] Input spline's degree.  
OdGeKnotVector knots 
[in] Input spline's array of knots.  
OdGePoint3dArray controlPoints 
[in] Input spline's array of control points.  
OdDoubleArray weights 
[in] Input spline's array of weights.  
const OdInt32 aTag = 0 
[in] Input spline's tag.  
const OdInt32 aFlags = OdBm::GInfoFlags::IsCurveBounded | OdBm::GInfoFlags::Default 
[in] Input additional flags.
 

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

Sets the NURB spline data. 

 

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