formZ SDK | 5.0 API Reference | System | Nurbs Surface
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(
srf, | |
double * | weights ) |
Parameters
srf [Input]
NURBS surface
weights [Result]
weights
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
fz_nsrf_get_u_npts, fz_nsrf_get_v_npts, fz_nsrf_get_control_points
Function Set
Defined in