API Reference > OdDb Classes > OdDbNurbSurface Class > OdDbNurbSurface Methods > OdDbNurbSurface::InsertControlPointsAtU Method
OdDbNurbSurface::InsertControlPointsAtU Method
Syntax
C++
OdResult InsertControlPointsAtU(double dU, const OdGePoint3dArray& vCtrlPts, const OdGeDoubleArray& vWeights);
Parameters 
Description 
double dU 
[in] u parameter.  
const OdGePoint3dArray& vCtrlPts 
[in] An array of control points to be added.  
const OdGeDoubleArray& vWeights 
[in] Array of weight values to add if the surface is rational.
 

Returns eOk if successful. If the surface doesn't contain any NURBS information, returns eFail. If the dU parameter is out of range, returns eOutOfRange.

Inserts a row of control points at the given u knot parameter. 

 

This method is implemented only for Spatial modeler and returns eNotImplementedYet status for other modelers.

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