Description
Creates the NURBS curve equation by interpolating the specified point set.
Syntax
Function RFNurbsCurve.CreateInterpolatedCurve(dim As Long, degree As Long, bClosed As Boolean, ptsCount As Long, pPts As RFPoint3) As RFErrorCode
The CreateInterpolatedCurve syntax has these parts:
| Part | Description |
|---|---|
| dim | [IN] Long Required. Dimension of the NURBS curve. |
| degree | [IN] Long Required. Degree of the NURBS curve. It should be 2 at the current version. |
| bClosed | [IN] Boolean Required. It determines whether the interpolated NURBS curve is closed or not. |
| ptsCount | [IN] Long Required. Number of points to interpolate. |
| pPts | [IN] RFPoint3 Required. The first element of an RFPoint3 array containing point coordinates to interpolate. |
Settings
The degree has these settings:
| Value | Description |
|---|---|
| 2 | Interpolation of points to create a 2D NURBS curve equation. All Z coordinate values in the pPts array are ignored. |
| 3 | Interpolation of points to create a 3D NURBS curve equation. |
The bClosed has these settings:
| Value | Description |
|---|---|
| TRUE | The resulting NURBS curve has a same start and end point by sharing the first point of the specified point array pPts. |
| FALSE |
Remarks
Note