 |
PK_MESH_find_laminar_mfins_o_t |
|
struct PK_MESH_find_laminar_mfins_o_s
{
int o_t_version; --- version number of
--- option structure
int max_mfins; --- limit on the number of mfins in
--- a returned component (0)
int n_help_positions; --- number of help positions (0)
PK_VECTOR_t *help_positions; --- help positions (NULL)
PK_LOGICAL_t want_plines; --- whether to return a pline
--- for each component
--- (PK_LOGICAL_false)
PK_MESH_open_comps_t open_comps; --- controls action taken when
--- closed components cannot be
--- formed
--- (PK_MESH_open_comps_no_c)
};
typedef struct PK_MESH_find_laminar_mfins_o_s PK_MESH_find_laminar_mfins_o_t;
This structure contains optional controls for PK_MESH_find_laminar_mfins
Specific Errors:
PK_ERROR_bad_value 'max_mfins' is < 0 (MILD)
Used in:
PK_MESH_find_laminar_mfins
The options provided are:
'max_mfins' If set to zero (the default value) all components
will be returned, otherwise only components
containing less than or equal to 'max_mfins' will
be returned.
'n_help_positions' The number of help positions. If supplied,
the closest component to each help position will be
returned, provided that it does not contain more
than 'max_mfins' mfins.
'help_positions' The help positions. If a help position is
equidistant to two or more components, they will
all be returned, excepting those that contain
more than 'max_mfins' mfins.
'want_plines' If this flag is set to PK_LOGICAL_true then a
polyline representation of each component will
be returned as a PK_PLINE_t.
'open_comps' If this option is set to PK_MESH_open_comps_no_c
(the default value) and it is not possible to
group all laminar mfins into closed components
then PK_ERROR_mesh_open_components will be
returned. If this option is set to
PK_MESH_open_comps_allow_c then open components
will be returned for any laminar mfins that cannot
be grouped into closed components. If this option
is set to PK_MESH_open_comps_report_c then in
addition a PK_REPORT will be generated containing
information about the returned open components.