API Reference > OdDg Classes > OdDgBSplineSurface Class > OdDgBSplineSurface Methods > OdDgBSplineSurface::getControlPointAt Method
OdDgBSplineSurface::getControlPointAt Method
Syntax
C++
OdResult getControlPointAt(OdUInt32 iUIndex, OdUInt32 iVIndex, OdGePoint3d& point) const;
Parameters 
Description 
OdUInt32 iUIndex 
[in] An index of a control point in the u direction. Index starts from the 0 value.  
OdUInt32 iVIndex 
[in] An index of a control point in the v direction. Index starts from the 0 value.  
OdGePoint3d& point 
[out] The control point (in WCS coordinates) at specified index.
 

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.

Returns the control point (in WCS coordinates) at the specified position in the control points vector. 

 

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