PK_replace_patch_data_t   

struct PK_replace_patch_data_s
    {
    PK_replace_patch_t  patch_type;     --- whether target faces are replaced
                                        --- by the corresponding tool faces
                                        --- with matching boundaries
                                        --- (PK_replace_patch_no_c)
    int                 n_matches;      --- number of matched faces (0)
    const PK_FACE_t    *tool_patches;   --- the tool faces to replace the
                                        --- corresponding target faces (NULL)
    const PK_FACE_t    *target_patches; --- the target faces to be replaced by
                                        --- the corresponding tool faces (NULL)
    int                 n_patch_edges;  --- number of patch edges (0)
    const PK_EDGE_t    *patch_edges;    --- boundary edges of patch tool
                                        --- to be imprinted on target body
                                        --- (NULL)
    };

typedef struct PK_replace_patch_data_s PK_replace_patch_data_t;



This structure is part of the PK_FACE_replace_with_sheet_o_t options structure.
It contains the patch data.

Used in:

PK_FACE_change_patch_o_t
PK_FACE_replace_with_sheet_o_t


Description of fields:



'patch_type'        Indicates whether each face in 'target_patches' array will
                    be replaced by the corresponding face in 'tool_patches'
                    array with matching boundary.

                    The permitted values are:

                    PK_replace_patch_no_c   do not require to match any face
                                            boundaries

                    PK_replace_patch_yes_c  require to match the sheet boundary
                                            of each face in 'tool_patches'
                                            array to the corresponding face
                                            in 'target_patches' array

                    The default value is PK_replace_patch_no_c
                    See here for more information.


'n_matches'         Number of matched faces, i.e. the length of 'tool_patches'
                    and 'target_patches'.
                    The default value is 0.


'tool_patches'      Array of the faces along the boundary of the tool body
                    whose laminar edges lie on the corresponding faces in
                    'target_patches' array.
                    The array default value is NULL.


'target_patches'    Array of the faces of the target body that are replaced by
                    the faces in 'tool_patches' array in corresponding order.
                    The array default value is NULL.


'n_patch_edges'     Number of patch edges.


'patch_edges'       Boundary edges of the patch tool to be explicitly
                    imprinted on to the target body.