formZ SDK | 5.0 API Reference | System | Nurbs Curve

# fz_ncrv_sample_crv_parameter_based

Description

Samples a NURBS curve along the parameter domain to obtain points. The sample points are returned in the given list( fz_type_list_ptr). This list needs to be initialized before calling this function.

Plugin Prototype

fzrt_error_td fz_ncrv_sample_crv_parameter_based(

fz_nurbs_cur_ptr | crv,
fzrt_int | npts,
fz_type_list_ptr | plist )

Parameters

crv [Input]

NURBS curve

npts [Input]

Number of points

plist [Result]

Sample points list

Returns

Error codes

Availability

5.0.0.0

Example Files

util_ncrv.fsl

See Also

, fz_ncrv_sample_crv_angle_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_ncrv_fset

Defined in

fz_ncrv_api.h