 |
PK_BODY_imprint_cus_vec_o_t |
|
struct PK_BODY_imprint_cus_vec_o_s
{
int o_t_version; --- version number
PK_imprint_connect_t connect; --- How to connect disjoint
--- components of imprint
--- (PK_imprint_connect_none_c)
PK_imprint_complete_t imprint_complete;--- whether to complete imprint
--- on target body
--- (PK_imprint_complete_no_c)
PK_LOGICAL_t imprint_coi_exactly;
--- whether to imprint curves
--- exactly where they are
--- coincident with the surface
--- geometry of the body.
--- (PK_LOGICAL_false)
PK_LOGICAL_t imprint_exactly; --- whether to imprint curves
--- exactly irrespective of
--- whether they are coincident
--- with the surface geometry of
--- the body.
--- (PK_LOGICAL_false)
PK_LOGICAL_t bidirectional; --- whether to imprint curves
--- in positive and negative
--- vector direction.
--- (PK_LOGICAL_false)
PK_imprint_intersect_t process_intersections;
--- how to deal with curves that
--- intersect in view (i.e. down
--- the supplied direction vector).
--- (PK_imprint_intersect_update_c)
};
typedef struct PK_BODY_imprint_cus_vec_o_s
PK_BODY_imprint_cus_vec_o_t;
The option structure defines options applicable to imprinting a set of
curves on a body.
Used in:
PK_BODY_imprint_cus_vec
Description of fields:
'connect' Specifies how to connect disjoint components of
the imprint. Permitted values are :
PK_imprint_connect_none_c
PK_imprint_connect_side_c
PK_imprint_connect_all_c
PK_imprint_connect_side_all_c
PK_imprint_connect_hidden_all_c
See Connecting disjoint components of an imprint for more
information.
'imprint_complete' Whether to complete the imprint on the body.
Vertices in the imprint corresponding to the
ends of the imprinted trimmed curves can be
completed so that they lie on an edge or laminar
edge of the target body.
The incomplete imprint is completed by
intersecting the faces of the body with a plane
tangential to the imprint at the end vertices
of the incomplete imprint and orthogonal to the
body.
Depending on the value of this option, the
imprint will be completed along the direction
of this plane until either:
o it meets any edge belonging to the body
o it meets any laminar edge belonging to the
body.
A completed imprint that self-intersects
will be trimmed at the point of self-intersection.
Completion to laminar edges may only be performed
upon sheet bodies.
For more information, see here.
'imprint_coi_exactly' If 'imprint_coi_exactly' is set to PK_LOGICAL_true
then curves coincident with their target surfaces
are imprinted exactly where appropriate, rather
than being imprinted by projection.
See here for more information.
The default value is PK_LOGICAL_false.
'imprint_exactly' If 'imprint_exactly' is set to PK_LOGICAL_true
then all curves will be imprinted accurately,
irrespective of the setting of 'imprint_coi_exactly'.
See here for more information.
The default value is PK_LOGICAL_false.
'bidirectional' If 'bidirectional' is set to PK_LOGICAL_true
then all curves will be imprinted in both positive
and negative vector direction and edges visible in
the view in both directions will be imprinted. If it
is set to false then they are only imprinted in the
positive direction.
The default value is PK_LOGICAL_false.
'process_intersections' Specifies how to deal with supplied curves that
intersect in view (i.e. within a plane perpendicular
to the imprint direction vector).
Permitted values are:
PK_imprint_intersect_update_c
PK_imprint_intersect_fail_c
PK_imprint_intersect_fix_c
The default value is PK_imprint_intersect_update_c,
which should be used for updating v24.1 and earlier
models.