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

fz_objt_cnstr_patch_from_open_edges

Description

Constructs a Patch object from every open edge of a patch object given a direction specified by the value of the fz_objt_patch_from_edge_dir_enum. A new object is returned for each specified edge. Note that the patch can be a triangular patch if do_trng_patch value is TRUE.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_patch_from_open_edges(

fzrt_int

windex,

fz_objt_ptr

src_obj,

fz_objt_patch_from_edge_dir_enum

direction,

fzrt_boolean

do_trng_patch,

fz_enty_list_ptr

ent_list )

Parameters

windex [Input]

project window index

src_obj [Input]

source object

direction [Input]

enum for the direction

do_trng_patch [Input]

triangular patch is built when TRUE

ent_list [Result]

list of patch objects

Returns

MODEL_ERR_WRONG_OBJT_TYPE - object passed in are not patches

Availability

5.0.0.0

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