formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Patch Object
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, |
cpts, | |
refn_opts, | |
obj ) |
Parameters
windex [Input]
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
Defined in