formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Nurbz Object

# fz_objt_cnstr_nrbz_from_uv_curves

Description

Creates a nurbz object that interpolates the bidirectional network of curves. The resulting surface may have lot of control points which could be reduced by using lower values for the accuracy parameter.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_nrbz_from_uv_curves(

fzrt_int | windex,
fz_objt_ptr * | u_crvs,
fzrt_int | n_ucrvs,
fz_objt_ptr * | v_crvs,
fzrt_int | n_vcrvs,
double | accuracy,
fzrt_boolean | is_deg_from_src,
fzrt_int | u_degree,
fzrt_int | v_degree,
fz_objt_nrbz_cnstr_opts_ptr | nrbz_opts,
fz_attr_refn_ptr | refn_opts,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project window index

u_crvs [Input]

array of curve objects in the u direction

n_ucrvs [Input]

number of curves in the u direction

v_crvs [Input]

array of curve objects in the v direction

n_vcrvs [Input]

number of curves in the v direction

accuracy [Input]

value between 0.0 and 1.0. Higher values produce surfaces that passes through the curves more closely and produce more control points.

is_deg_from_src [Input]

if TRUE, the surface will inherit the degree from the input curves.
If FALSE, the surface's degrees must be specified in the next two parameters.

u_degree [Input]

degree in the u direction

v_degree [Input]

degree in the v direction

nrbz_opts [Input, Optional]

capping and rounding options

refn_opts [Input, Optional]

refinement options

obj [Result]

nurbz object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_cnstr_nrbz.fsl

See Also

,, fz_objt_cnstr_nrbz_through_curves, fz_objt_cnstr_nrbz_through_points

Function Set

fz_model_fset

Defined in

fz_objt_nrbz_api.h