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

# fz_objt_cnstr_patch_bezier

Description

Creates a Bezier patch object from 16 control points. The points are passed in u major order (i.e. cpts[0] .. cpts[3] are u { 0.0, 0.33, 0.67, 1.0 } at v == 0.0).

Plugin Prototype

fzrt_error_td fz_objt_cnstr_patch_bezier(

fzrt_int | windex,
fz_xyz_td * | cpts,
fz_attr_refn_ptr | refn_opts,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project

cpts [Input]

control points

refn_opts [Input, Optional]

refinement options

obj [Result]

Bezier patch object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_patch_attach.fsl
util_objt_patch_divide.fsl
util_objt_patch_from_edge.fsl
util_objt_patch_udivide.fsl

See Also

fz_objt_cnstr_patch_opts_init, fz_objt_cnstr_patch_opts_finit, fz_objt_cnstr_patch_opts_finit, fz_objt_cnstr_patch_opts_get

Function Set

fz_model_fset

Defined in

fz_objt_ptch_api.h