RFNurbsSurface.SetHControlPoints
Description
Sets all the control points of the NURBS surface as specified homogeneous control point coordinates.
Syntax
Function RFNurbsSurface.SetHControlPoints(ptsCount As Long,
pCtrlPoint As RFHPoint) As RFErrorCode
The SetHControlPoints syntax has these parts:
| Part |
Description |
| ptsCount |
[IN] Long Required. Number of control points to set. |
| pCtrlPoint |
[IN] RFHPoint Required. The first element of RFHPoint array containing homogeneous control point coordinates. |
Remarks
- The size of control point RFHPoint array pCtrlPoint, specified by ptsCount, should be the same as the number of control points of NURBS surface.
- Control points should be stored in following order,
pCtrlPoint (0) = Control Points (0,0)
pCtrlPoint (1) = Control Points (0,1)
pCtrlPoint (Vn - 1 ) = Control Points (0, Vn - 1)
pCtrlPoint (Vn) = Control Points (1,0)
pCtlPoint (Un X Vn - 1) = Control Points (Un - 1, Vn - 1 )
where, Un = the number of control points in U parametric direction.
Vn = the number of control points in V parametric direction.
Control Points (i,j) = I'th in U parametric direction and j'th in V parametric direction control point of NURBS surface.
Return to Rapidform Index