 |
PK_MESH_make_bodies_o_t |
|
struct PK_MESH_make_bodies_o_s
{
int o_t_version; --- version number of
--- option structure
double vertex_angle; --- angle in radians above
--- which any laminar boundary
--- will be split into separate
--- edges (4)
PK_LOGICAL_t allow_disjoint; --- whether result body may be
--- disjoint (PK_LOGICAL_true)
PK_BODY_type_t preferred_body_type; --- preferred type of
--- result body or bodies
--- (PK_BODY_type_sheet_c)
};
typedef struct PK_MESH_make_bodies_o_s PK_MESH_make_bodies_o_t;
This structure contains optional controls for PK_MESH_make_bodies.
Used in:
PK_MESH_make_bodies
The options provided are:
'vertex_angle' This option controls when vertices will be created
between laminar edges of the resultant body.
A vertex will be inserted wherever the angle in radians
between two laminar mfins exceeds 'vertex_angle'.
The default value is 4 radians, which means that
simple boundary loops will consist of one ring edge.
'allow_disjoint' If this option is set to PK_LOGICAL_false, then
each separate component in the result will become a
separate body. Otherwise, the result will be a single
body which may contain disjoint components.
'preferred_body_type' This option allows the preferred type of the
resulting body or bodies to be indicated.
Allowed values are:
PK_BODY_type_solid_c:
Where possible, the results of the operation will
be solid bodies.
If 'allow_disjoint' is set to PK_LOGICAL_false then
each individual result body will be made solid if
possible. This means that a mixture of solid and
sheet bodies may be returned if some can be made
solid and some cannot.
If 'allow_disjoint' is set to PK_LOGICAL_true then
the result will only be made solid if it is
possible to make all of its components solid.
PK_BODY_type_sheet_c:
The result body or bodies will be left as sheet
bodies.