Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbNurbSurface::setControlPointAt Method
Syntax
C++
OdResult setControlPointAt(int iUIndex, int iVIndex, const OdGePoint3d& point);

Sets a new control point (in WCS coordinates) at a specified position in the control points vector. 

 

Parameters
Description
iUIndex
[in] An index of a control point in the u direction. Index starts from the 0 value.
iVIndex
[in] An index of a control point in the v direction. Index starts from the 0 value.
point
[in] A new control point (in WCS coordinates) to be set at the specified position.

Returns eOk if a control point was returned successfully. If the surface doesn't contain the control point information, the method returns eFail. Returns eOutOfRange if the uIndex or vIndex are not valid.

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

Copyright © 2002-2022. Open Design Alliance All rights reserved.