 |
PK_FACE_transform_o_t |
|
struct PK_FACE_transform_o_s
{
int o_t_version; --- version number of option structure
PK_LOGICAL_t merge_face; --- whether transformed faces are to be
--- merged with their neighbours,
--- if feasible (PK_LOGICAL_true)
PK_check_fa_fa_t check_fa_fa; --- check for face-face inconsistencies
--- (PK_check_fa_fa_yes_c)
PK_FACE_prefer_adj_t adjacency; --- specifies how to control the
--- interaction between transform faces
--- and adjacent faces
--- (PK_FACE_prefer_adj_keep_c)
PK_transform_step_t transform_step;
--- whether to create step faces
--- (PK_transform_step_no_c)
PK_FACE_grow_t grow; --- controls which faces to grow
--- when repairing clashes
--- (PK_FACE_grow_update_c) [PF]
PK_local_ops_update_t update; --- update flag
--- (PK_local_ops_update_default_c)
};
typedef struct PK_FACE_transform_o_s PK_FACE_transform_o_t;
This structure contains optional controls for PK_FACE_transform_2.
Used in:
PK_FACE_transform_2
Description of fields:
'merge_face' If this flag is set to PK_LOGICAL_true, the
new faces produced by the operation will be
merged with their neighbouring faces, if it is
feasible. The default value is PK_LOGICAL_true.
'check_fa_fa' Check for face-face inconsistencies.
Values can be :
PK_check_fa_fa_no_c
PK_check_fa_fa_yes_c
The default value is PK_check_fa_fa_yes_c.
'adjacency' This datatype controls the interaction between faces
that have transforms applied to them and their
originally adjacent faces.
PK_FACE_prefer_adj_keep_c
Prefer to maintain adjacency where possible,
extending faces if necessary.
PK_FACE_prefer_adj_change_c
Prefer to choose new adjacent faces where
appropriate.
'transform_step' Whether to add step faces between boundary edges of
the faces.
Values can be:
PK_transform_step_no_c
PK_transform_step_smooth_c
PK_transform_step_all_c
PK_transform_step_not_coi_c
PK_transform_step_smooth_site_c
If this option is set to PK_transform_step_no_c, no
step faces will be created.
If set to PK_transform_step_smooth_c, then side faces
will be created along all smooth boundary edges.
If set to PK_transform_step_smooth_site_c, then side
faces will be created along all smooth boundary edges,
but side faces will not be created if site faces can be
grown instead. Site faces with facet geometry will not
be grown.
If set to PK_transform_step_all_c, step faces will be
created at both sharp and smooth edges.
If set to PK_transform_step_not_coi_c, step faces are
created at all edges except those where the surface
of the step would be coincident with the surface of
the adjacent face.
Only pure translations or rotations will result in
side faces being created, other types of transform
are not supported.
See here for more information.
'grow' While repairing clashing features, there are
situations in which it is necessary for faces to be
grown. This option controls which feature's faces
will be grown.
Permitted values are:
PK_FACE_grow_update_c
PK_FACE_grow_auto_c
PK_FACE_grow_moving_c
PK_FACE_grow_fixed_c
PK_FACE_grow_no_c
PK_FACE_grow_fail_c
Note that the value PK_FACE_grow_update_c is not
supported for facet geometry.
The default value is PK_FACE_grow_update_c, which
should be used for updating v20.0 and earlier models.
'update' The default value allows applications to take
advantage of the latest enhancements of the generic
algorithms supporting Parasolid local operations
functions. To maintain consistency when rebuilding
models created in a previous version of Parasolid,
a non-default value should be specified.
The default value is PK_local_ops_update_default_c