formZ SDK | 5.0 API Reference | System | Nurbs Surface

fz_nsrf_get_weights

Description

Gets the weights of a NURBS surface. The weights are returned in a single array of doubles. (row major order) The weights array is allocated by the caller and must be of size u_npts*v_npts. u_npts, v_npts are the number of control points in U, V directions obtained from functions fz_nsrf_get_u_npts(), fz_nsrf_get_v_npts().

Plugin Prototype

fzrt_error_td fz_nsrf_get_weights(

fz_nurbs_srf_ptr

srf,

double *

weights )

Parameters

srf [Input]

NURBS surface

weights [Result]

weights

Returns

Error codes

Availability

5.0.0.0

Example Files

util_nsrf.fsl

See Also

fz_nsrf_get_u_npts, fz_nsrf_get_v_npts, fz_nsrf_get_control_points

Function Set

fz_nsrf_fset


Defined in

fz_nsrf_api.h