 |
PK_MESH_find_laminar_mfins_r_t |
|
struct PK_MESH_find_laminar_mfins_r_s
{
int n_components; --- number of components
--- returned (>= 0)
PK_MFIN_array_t *components; --- components
PK_PLINE_t *plines; --- pline of each component
int *help_indices; --- if help_positions is supplied,
--- the index of the help position
--- closest to the component,
--- otherwise NULL
};
typedef struct PK_MESH_find_laminar_mfins_r_s PK_MESH_find_laminar_mfins_r_t;
This structure contains the result of finding laminar mfins.
The PK memory associated with this structure may be freed by calling
PK_MESH_find_laminar_mfins_r_f.
Used in:
PK_MESH_find_laminar_mfins
PK_MESH_find_laminar_mfins_r_f
The structure has the following fields :
'n_components' The number of components returned.
'components' The connected sets of laminar mfins. All of the components
will be closed if the 'open_comps' option is set to
PK_MESH_open_comps_no_c (default). Open components can be
distinguished from closed components by checking the
PK_REPORT produced when the 'open_comps' option is set
to PK_MESH_open_comps_report_c.
'plines' The polyline representation of each component. This will be
set to NULL if 'want_plines' is set to PK_LOGICAL_false.
'help_indices' If 'help_positions' is supplied, this field will be of
length 'n_components' with values corresponding to indices
into the 'help_positions' array. For each component in
'components', the corresponding entry in 'help_indices' is
the index of the help position closest to that component.
If several help positions are equidistant to that component
then the lowest index will be returned. This is set to NULL
if no help positions were supplied.