formZ SDK | 5.0 API Reference | System | Nurbs Surface

# fz_nsrf_sample_srf_parameter_based

Description

Samples NURBS surface along the parameter domain to obtain points. The list ( fz_type_list_ptr) passed in needs to be initialized before calling this function. The sample points are returned in the given list row-wise. That is, a row of v control points for the first u value is returned first. Then, the row of v control points for the next u value.

Plugin Prototype

fzrt_error_td fz_nsrf_sample_srf_parameter_based(

fz_nurbs_srf_ptr | srf,
fzrt_int | u_npts,
fzrt_int | v_npts,
fz_type_list_ptr | plist )

Parameters

srf [Input]

NURBS surface

u_npts [Input]

Number of points in U

v_npts [Input]

Number of points in V

plist [Result]

Sample points list

Returns

Error codes

Availability

5.0.0.0

Example Files

util_nsrf.fsl

See Also

fz_nsrf_sample_srf_arclength_based,, fz_type_list_init,, fz_type_list_count, fz_type_list_get_item, fz_type_list_add_item,, , fz_type_list_clear

Function Set

fz_nsrf_fset

Defined in

fz_nsrf_api.h