API Reference > OdDb Classes > OdDbNurbSurface Class > OdDbNurbSurface Methods > OdDbNurbSurface::InsertKnotAtU Method
OdDbNurbSurface::InsertKnotAtU Method
Syntax
C++
OdResult InsertKnotAtU(double dU);
Parameters 
Description 
double dU 
[in] u parameter.
 

Returns eOk if successful. If the surface doesn't contain any NURBS information, returns eFail. If the surface's knot multiplicity at the u parameter is bigger than the degree in the u direction, returns eInvalidInput.

Inserts a knot at the specified u parameter. The knot insertion doesn't modify the shape of the surface. It will add a new row of control points in the v direction and adjust the local control point's location. 

 

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

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