PK_BODY_sweep_fault_t   

typedef int PK_BODY_sweep_fault_t;

Used in:

PK_BODY_sweep_status_2_r_t
PK_BODY_sweep_status_r_t


A status value to be associated with swept bodies. It indicates the type
of problem encountered during the construction of the body ( may be none at
all ).

    PK_BODY_sweep_ok_c             Swept body created without problems
    PK_BODY_sweep_non_c2_c         Swept body was created, but some of the
                                   geometry is non-c2 even though
                                   'preferred_continuity' was set to
                                   PK_continuity_c2_c and the path is c2 at
                                   the corresponding point. The positions
                                   on the path corresponding to these c2
                                   discontinuities are returned in the
                                   'fault_locations' array, and the
                                   corresponding edges or vertices are
                                   returned in the 'fault_entities' array.
    PK_BODY_sweep_repaired_c       Swept body was created, and some of the
                                   swept surfaces have been repaired because
                                   they would otherwise have been self-
                                   intersecting. The 'fault_entities' array
                                   will contain the list of faces that have
                                   been repaired. This value will only ever be
                                   returned if PK_BODY_make_swept_body_2 was
                                   called with 'repair' set to
                                   PK_sweep_repair_report_c. If
                                   'preferred_continuity' was set to
                                   PK_continuity_c2_c, then any positions where
                                   the path is c2 but the swept geometry is
                                   non-c2 will also be returned in the
                                   'fault_locations' array, with the
                                   edges or vertices returned in the
                                   corresponding entries of the
                                   'fault_entities' array.
    PK_BODY_sweep_failure_c        Internal algorithm failure
    PK_BODY_sweep_bad_path_c       Invalid or unsuitable sweep path
    PK_BODY_sweep_bad_guide_c      Invalid, unsuitable or missing sweep guide
    PK_BODY_sweep_bad_guide_clamp_c
                                   Invalid or unsuitable guide clamp
    PK_BODY_sweep_bad_profile_c    Invalid or unsuitable sweep profile
    PK_BODY_sweep_small_profile_c  Profile is too small to sweep
    PK_BODY_sweep_bad_match_c      Unsuitable profile mappings in 'matches',
                                   or incorrect length of 'profile_matches' in
                                   'guide_controls'
    PK_BODY_sweep_bad_vertex_c     Invalid or unsuitable vertex supplied
    PK_BODY_sweep_bad_lock_dir_c   The lock direction is parallel to the path
                                   at some point
    PK_BODY_sweep_bad_lock_face_c  Invalid or unsuitable lock face supplied
    PK_BODY_sweep_bad_trim_point_c Either a trim point has not been supplied
                                   when required, or the trim point is such
                                   that a unique set of faces to be trimmed to
                                   cannot be determined.
    PK_BODY_sweep_surf_failure_c   Failed to create swept surface
    PK_BODY_sweep_curve_failure_c  Failed to create profile curve
    PK_BODY_sweep_non_g1_failure_c Failed to handle non-G1 path
    PK_BODY_sweep_geom_self_int_c  Swept body has self intersection in at least
                                   one of its geometries.
    PK_BODY_sweep_geom_degen_c     Swept body has degeneracy in at least
                                   one of its geometries.
    PK_BODY_sweep_topol_self_int_c Swept body has an invalid contact between
                                   two of its faces, edges, or vertices.
    PK_BODY_sweep_check_failure_c  Fault detected in generated body
    PK_BODY_sweep_torsion_failure_c
                                   Sweep along closed path with torsion
                                   does not close: end profile rotates such
                                   that it is not within tolerance of the
                                   start profile.  Returned body consists of
                                   profiles at start and end of sweep, instead
                                   of failed swept body.