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

fz_objt_cnstr_nrbz_from_bndry_curves

Description

Creates a nurbz object from the given boundary curves. The number of boundary curves must be 2 or 3 or 4. When it is 2, a ruled surface is created between the two curves. When it is 3 or 4, a surface is created that covers the space bounded by the curves. Curves do not have to intersect.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_nrbz_from_bndry_curves(

fzrt_int

windex,

fz_objt_ptr *

bndry_crvs,

fzrt_int

n_crvs,

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

bndry_crvs [Input]

array of boundary curve objects

n_crvs [Input]

number of curves

Range: 2 <= n_crvs <= 4

is_deg_from_src [Input]

if TRUE, the surface will inherit the degree from the boundary 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_from_uv_curves, fz_objt_cnstr_nrbz_through_points

Function Set

fz_model_fset


Defined in

fz_objt_nrbz_api.h