formZ SDK | 5.0 API Reference | System | Nurbs Surface

# fz_nsrf_get_control_points

Description

Gets the control points of a NURBS surface. The control points are returned in a single array. (row major order) The control points 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_control_points(

fz_nurbs_srf_ptr | srf,
fz_xyz_td * | ctrlpts )

Parameters

srf [Input]

NURBS surface

ctrlpts [Result]

control points

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_weights

Function Set

fz_nsrf_fset

Defined in

fz_nsrf_api.h