formZ SDK | 5.0 API Reference | System | Nurbs Curve

# fz_ncrv_sample_crv_parameter_based2

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. The sample parameters are returned in the given list(tlist) if not NULL. This list is parallel to the point list and also needs to be intialised.

Plugin Prototype

fzrt_error_td fz_ncrv_sample_crv_parameter_based2(

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

Parameters

crv [Input]

NURBS curve

npts [Input]

Number of points

plist [Result]

Sample points list

tlist [Result, Optional]

Parameters list

Returns

Error codes

Availability

6.5.7.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