PK_BODY_imprint_cus_shadow_o_t   

struct PK_BODY_imprint_cus_shadow_o_s
    {
    int                   o_t_version;        --- version number
    double                tolerance;          --- curve tolerance (1.0e-5)
    PK_LOGICAL_t          want_edges;         --- whether to return new edges
                                              --- (PK_LOGICAL_false)
    PK_LOGICAL_t          want_visible_faces; --- whether to return visible
                                              --- faces (PK_LOGICAL_false)
    PK_shadow_check_fa_t  check_faces;        --- check modified faces for
                                              --- faults
                                              --- (PK_shadow_check_fa_no_c)
    };
typedef struct PK_BODY_imprint_cus_shadow_o_s
               PK_BODY_imprint_cus_shadow_o_t;



Controls for the PK_BODY_imprint_cus_shadow options structure.

Used in:

PK_BODY_imprint_cus_shadow


The option 'tolerance' controls the accuracy of the silhouette and shadow
curves generated.

If the 'want_edges' option is set to PK_LOGICAL_true, the tags of the new
edges created will be returned.

If the 'want_visible_faces' option is set to PK_LOGICAL_true, the tags of
the visible faces in the resulting model will be returned.

The option 'check_faces' controls the level of post-process face checking
undertaken on modified faces. The default value is PK_shadow_check_fa_no_c. At
the default check level, the Shadowing operation may produce an invalid body
without raising an error. Therefore if the output body is used in a downstream
modelling operation, it is strongly advised to set the 'check_face' option to
PK_shadow_check_fa_yes_c. If 'check_faces' is set to PK_shadow_check_fa_yes_c,
the error token PK_ERROR_face_check_fails indicates that the checker found a
face fault.

See Imprinting shadow curves for more information.