RFNurbsSurface.CreateCanonical



Your Ad Here

Description

Creates the NURBS surface equation form specified canonical values.

Syntax

Function RFNurbsSurface.CreateCanonical(uDegree As Long, vDegree As Long, knotType As RFEndKnotType, uKnotCount As Long, pUKnots As Double, vKnotCount As Long, pVKnots As Double, ctrlPtsType As RFControlPointType, uCtrlPtsCount As Long, vCtrlPtsCount As Long, ctrlPtsStride As Long, pCtrlPts As Double) As RFErrorCode

The CreateCanonical syntax has these parts:

Part Description
uDegree [INLong Required. Degree of NURBS surface in U parametric direction ranging from 1 to 32.
vDegree [INLong Required. Degree of NURBS surface in V parametric direction ranging from 1 to 32.
knotType [INRFEndKnotType Required. Type of knot at end parameters.
uKnotCount [INLong Required. Number of knots in U parametric direction.
pUKnots [INDouble Required. The first element of Double array containing knot values in U parametric direction.
vKnotCount [INLong Required. Number of knots in V parametric direction.
pVKnots [INDouble Required. The first element of Double array containing knot values in V parametric direction.
ctrlPtsType [INRFControlPointType Required. Control point type.
uCtrlPtsCount [INLong Required. Number of control points in U parametric direction.
vCtrlPtsCount [INLong Required. Number of control points in V parametric direction.
ctrlPtsStride [INLong Required. Number of elements to represent a single control point in control point data array pCtrlPts.
pCtrlPts [INDouble Required. The first element of Double array containing control point coordinates.

Remarks

Return to Rapidform Index


Your Ad Here