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

fz_objt_cnstr_patch_from_edge

Description

Constructs a Patch object from one or more patch open edges 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_edge(

fzrt_int

windex,

fz_objt_ptr *

src_obj,

fzrt_int *

edge_index,

fzrt_int

edge_knt,

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]

list of source objects

edge_index [Input]

list of edge indexes

edge_knt [Input]

number of edges

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

Example Files

util_objt_patch_from_edge.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