formZ SDK | 5.0 API Reference | System | Nurbs Curve

fz_ncrv_get_knots

Description

Gets the knots of a NURBS curve. The knots array is allocated by the user and must be of size npts+degree+1. npts is the number of control points obtained from function fz_ncrv_get_npts(). degree is the degree of curve obtained from function ().

Plugin Prototype

fzrt_error_td fz_ncrv_get_knots(

fz_nurbs_cur_ptr

crv,

double *

knots )

Parameters

crv [Input]

NURBS curve

knots [Result]

Knot array

Returns

Error codes

Availability

5.0.0.0

Example Files

util_ncrv.fsl

See Also

fz_ncrv_get_npts, fz_ncrv_get_control_points

Function Set

fz_ncrv_fset


Defined in

fz_ncrv_api.h