PK_BODY_sewing_gen_t   

typedef int PK_BODY_sewing_gen_t;

Used in:

PK_BODY_sew_bodies_o_t


This datatype controls the behaviour of sewing in case of general input.
It has the values:

    PK_BODY_sewing_gen_no_c        If non-manifold general inputs are present,
                                   then the sewing operation will fail with
                                   PK_ERROR_unsuitable_topology, otherwise
                                   all manifold general inputs are converted
                                   into sheets. Default behaviour.

    PK_BODY_sewing_gen_loc_manf_c  The behaviour of the sewing on general
                                   input bodies is controlled by the
                                   generalised topologies session flag
                                   (see PK_SESSION_set_general_topology):

                                   (1) Generalised topologies are enabled:
                                       All general input bodies are accepted.
                                       PK_BODY_sew_bodies sews general bodies
                                       where their laminar boundaries meet in
                                       a locally manifold configuration.
                                       If this configuration is non-oriented
                                       the sewing operation is not expected
                                       to adjust the orientations to produce
                                       a manifold configuration but will glue
                                       them together.

                                   (2) Generalised topologies are disabled:
                                       All manifold general inputs are
                                       converted into sheets and all
                                       non-manifold general inputs are returned
                                       as unsewn bodies.