Description
Creates NURBS surface by approximating the points.
Syntax
Function RFNurbsSurface.CreateApproximatedSurface(uDegree As Long, vDegree As Long, uNewPtsCount As Long, vNewPtsCount As Long, bClosed As Boolean, uPtsCount As Long, vPtsCount As Long, pPts As RFPoint3) As RFErrorCode
The CreateApproximatedSurface syntax has these parts:
| Part | Description |
|---|---|
| uDegree | [IN] Long Required. Degree of NURBS surface in the U parametric direction. It should be set to 2 in this version. |
| vDegree | [IN] Long Required. Degree of NURBS surface in the V parametric direction. It should be set 2 in this version. |
| uNewPtsCount | [IN] Long Required. Number of target control points in the U parametric direction after the approximation. |
| vNewPtsCount | [IN] Long Required. Number of target control points in the V parametric direction after the approximation. |
| bClosed | [IN] Boolean Required. It determines whether NURBS surface is closed or not. |
| uPtsCount | [IN] Long Required. Number of points to interpolate in the U parametric direction. |
| vPtsCount | [IN] Long Required. Number of points to interpolate in the V parametric direction. |
| pPts | [IN] RFPoint3 Required. The first element of RFPoint3 array containing points to interpolate. |
Remarks