RFNurbsCurve.CreateInterpolatedCurve



Your Ad Here

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 [INLong Required. Dimension of the NURBS curve.
degree [INLong Required. Degree of the NURBS curve. It should be 2 at the current version.
bClosed [INBoolean Required. It determines whether the interpolated NURBS curve is closed or not.
ptsCount [INLong Required. Number of points to interpolate.
pPts [INRFPoint3 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

Return to Rapidform Index


Your Ad Here