formZ SDK | 5.0 API Reference | System | Nurbs Curve

# fz_ncrv_get_weights

Description

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

Plugin Prototype

fzrt_error_td fz_ncrv_get_weights(

fz_nurbs_cur_ptr | crv,
double * | weights )

Parameters

crv [Input]

NURBS curve

weights [Result]

weights

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