Description
Increases or decreases the number of control points of a specified NURBS surface according to the specified parameters and returns an RFErrorCode value indicating whether an error occurs.
Syntax
Function RFSurfaceTools.RebuildNurbsSurface(surfaceID As RFEntityID, uCtrlPtsCount As Long, vCtrlPtsCount As Long, fitAccuracy As Long, bUseLoopInfo As Boolean, bProjectOnPolygon As Boolean, bUseNormal As Boolean) As RFErrorCode
The RebuildNurbsSurface syntax has these parts:
| Part | Description |
|---|---|
| surfaceID | [IN] RFEntityID Required. NURBS surface's RFEntityID to rebuild. |
| uCtrlPtsCount | [IN] Long Required. New number of control points in U parameteric direction. |
| vCtrlPtsCount | [IN] Long Required. New number of control points in V parameteric direction. |
| fitAccuracy | [IN] Long Required. Fitting accuracy to rebuild NURBS surface by fitting the connecting shell. It is valid only when bProjectOnPolygon = TRUE. |
| bUseLoopInfo | [IN] Boolean Required. It determines whether the loop information used at NURBS fitting process, if any, is referred for the rebuilding. |
| bProjectOnPolygon | [IN] Boolean Required. It determines whether the NURBS surface is projected to the connecting shell for the rebuilding. |
| bUseNormal | [IN] Boolean Required. It determines whether the normal vectors around NURBS surface boundaries are preserved as much as possible for the rebuilding. |