PK_REPORT_record_1_t   

struct PK_REPORT_record_1_s
    {
    PK_REPORT_1_t  status;       --- status code
    int            n_old_items;  --- number of original items
    int           *old_items;    --- items existing before operation
    PK_CLASS_t    *old_classes;  --- classes of old items
    int            n_new_items;  --- number of new items
    PK_ITEM_t     *new_items;    --- items created during operation
    };
typedef struct PK_REPORT_record_1_s PK_REPORT_record_1_t;


This datatype is a REPORT record containing a status and items.

Used in:

PK_REPORT_record_t


It has the fields:

'status'           this indicates the status represented by the information
                   in this record.  The 'old_items' and 'new_items' that are
                   contained in this record depend upon the 'status'.
                   See documentation of PK_REPORT_1_t

'n_old_items'      the number of reported items which existed before the
                   operation for which the report was created

'old_items'        an array of items which existed before the operation for
                   which the report was created

'old_classes'      the classes of the items in 'old_items'

'n_new_items'      the number of items which have have been created during the
                   operation for which the report was created

'new_items'        an array of items which have been created during the
                   operation for which the report was created



'old_items' relate to pre-operation topologies and 'status' values refer
to the class of post-operation topologies derived from them.

The 'old_items' array will contain the following entities according
to the value of the 'status' field. The typical class of 'old_items' for
each value of 'status' is given, however exceptions do exist. For these status
types, the 'new_items' array is not currently used and 'n_new_items' is set to
0.

NOTE: Entity classes given in the following represent typical cases.

  PK_REPORT_1_cant_get_pt_c       : 1 VERTEX    Failed to find new geometry
                                                for existing vertex.
                                    n FACEs     Failed to find geometry for
                                                new vertex.

  PK_REPORT_1_cant_get_cu_c       : 1 EDGE      Failed to find new geometry
                                                for existing edge.
                                    n FACEs     Failed to find geometry for
                                                new edge.

  PK_REPORT_1_cant_get_su_c       : n FACEs     Unable to produce offset
                                                surfaces for these faces.
                                                No surface replacement is
                                                performed.

  PK_REPORT_1_cant_offset_c       : n FACEs     Failed to offset the face or
                                                the face is only partially
                                                offset. Likely causes are
                                                self intersection or regions
                                                of tight curvature on offset
                                                surfaces.
                                  : n EDGEs     Failed to offset the associated
                                                entities to provide the
                                                geometry for these edges.

  PK_REPORT_1_side_cu_fail_c      : 1 EDGE      Failed to find side curve.

  PK_REPORT_1_side_su_fail_c      : 1 FACE      Failed to create a side
                                                surface.

  PK_REPORT_1_not_same_by_c       : n/a         Not currently returned.

  PK_REPORT_1_fa_fail_c           : 1 FACE      Face which failed check.

  PK_REPORT_1_fa_fa_fail_c        : 2 FACEs     Pair of faces where
                                                inconsistency found.

  PK_REPORT_1_ed_remains_c        : 1 EDGE      An existing edge should have
                                                disappeared
                                    n FACEs     A transient edge should have
                                                disappeared

  PK_REPORT_1_point_contact_c     : 1 VERTEX    Vertex where point contact has
                                                has been found.

  PK_REPORT_1_bad_reference_c     : 1 EDGE      Taper reference edge is not
                                                valid.
                                    1 FACE      Taper reference face is not
                                                valid.
                                    1 SURF      Taper reference surface is not
                                                valid.

  PK_REPORT_1_not_supported_c     : 1 FACE      Face that has currently
                                                unsupported combination of
                                                reference entities.

  PK_REPORT_1_cant_extend_c       : 1 EDGE      Geometry attached to returned
                                                edge could not be extended.
                                    1 FACE      Geometry attached to returned
                                                face could not be extended.

  PK_REPORT_1_sheet_small_c       : 1 FACE      Given sheet is too small.

  PK_REPORT_1_cant_use_cu_c       : 1 EDGE      The supplied/existing curve
                                                for this edge lies more than
                                                'tolerance' away from the
                                                resulting face surfaces.

  PK_REPORT_1_eds_unconnected_c   : n VERTEXs   The vertices at which the
                                                boundary is not simply
                                                connected.

  PK_REPORT_1_non_laminar_c       : n EDGEs     The non-laminar edges.

  PK_REPORT_1_reference_loop_c    : n EDGEs     Reference edges in the
                                                inconsistent boundary.
                                    n FACEs     Reference faces in the
                                                inconsistent regions.

  PK_REPORT_1_lp_outside_fa_c     : n LOOPs     Loops which are outside a
                                                face.

  PK_REPORT_1_target_missed_c     : n EDGEs     Target entity cannot bound
                                                the regions that originate
                                                from these boundary edges.

  PK_REPORT_1_wrong_side_c        : n EDGEs     The side of target entity
                                                has been specified and the
                                                boundary formed by these
                                                edges lies completely on the
                                                wrong side of the target.

  PK_REPORT_1_ed_vxs_touch_c      : n EDGEs     Edge has touching vertices.

  PK_REPORT_1_ed_large_tol_c      : n EDGEs     Edge has had large tol set by
                                                PK_EDGE_repair.
                                                - or -
                                                Set of edges sewn together
                                                using large tol set by
                                                PK_BODY_sew_bodies.

  PK_REPORT_1_negated_c           : n SHELLs    Shells that have been negated
                                                by PK_FACE_delete_2.

  PK_REPORT_1_check_fail_c        : n BODYs     Bodies that have failed local
                                                checking in PK_FACE_delete_2.

  PK_REPORT_1_fa_overlap_c        : n FACEs     Faces that form an overlapping
                                                set after mid-surface trimming.

  PK_REPORT_1_imp_dir_undef_c     : n EDGEs     Imprinted edges for which a
                                                consistent edge direction could
                                                not be determined.

  PK_REPORT_1_fa_not_offset_c     : n FACEs     Faces that do not have an
                                                offset in the other faceset to
                                                the supplied tolerance in
                                                PK_FACE_make_neutral_sheet_2.

  PK_REPORT_1_fa_fa_repair_c      : n EDGEs     Edges that have been created
                                                when repairing face-face
                                                inconsistencies in
                                                PK_FACE_delete_2.

  PK_REPORT_1_inconsistent_geom_c : 2 VERTEXs   Matched vertices have
                                                inconsistent geometry in
                                                PK_BODY_knit.

  PK_REPORT_1_cut_incomplete_c    : n SHELLs    outer shells of original target
                                                body that were not completely
                                                cut through by the sectioning
                                                tool.

  PK_REPORT_1_region_type_undef_c : n REGIONS   The result of deleting faces
                                                of a general body has merged
                                                regions and the type of the
                                                reported result regions was
                                                not determined by the merged
                                                regions, but has been set
                                                to void.

  PK_REPORT_1_on_target_c         : n EDGEs     Edges are coincident with
                                                target and don't require
                                                extension.

  PK_REPORT_1_not_extended_c      : n EDGEs     Edges are not coincident with
                                                target but don't require
                                                extension.

  PK_REPORT_1_miter_fail_c        : n EDGEs     The reference edges where
                                                mitering has failed.

  PK_REPORT_1_self_shadowing_c    : n EDGEs     The reference edges where
                                                self-shadowing occurs.

  PK_REPORT_1_no_roll_diff_c      : n ATTRIBs   No-roll attributes which still
                                                exist after the roll operation
                                                whose field values have been
                                                changed as a result of the
                                                roll.

  PK_REPORT_1_fa_unoriented_c     : n FACEs     Unable to determine the
                                                orientation for these faces in
                                                PK_FACE_make_neutral_sheet_2.

  PK_REPORT_1_bad_blend_c         : n FACEs     Blends which could not be
                                                processed.

For the following status types, only 'new_items' are returned as follows.

  PK_REPORT_1_cut_no_clash_c    : n BODYs    result bodies that did not clash
                                             with the sectioning tool.

  PK_REPORT_1_cut_unclassed_c   : n BODYs    result bodies that could not be
                                             uniquely classified as either
                                             front or back of section.

  PK_REPORT_1_blend_faces_sx_c  : n FACEs    FACEs created by the operation
                                             whose surfaces are
                                             self-intersecting.

  PK_REPORT_1_cant_get_geom_c   : n TOPOLs   Unable to generate geometry for
                                             these topologies.

For the following status types, both 'old_items' and 'new_items' are returned
as follows.

  PK_REPORT_1_fa_fix_degens_c : old_items : FACEs on the original body that
                                            were repaired, followed by the
                                            original SURFACE. In the case where
                                            the original surface was an offset
                                            surface, this is followed by the
                                            underlying b-SURFACE.
                                new_items : The repaired b-SURFACE, followed by
                                            the corresponding offset SURFACEs,
                                            followed by the corresponding FACEs
                                            on the resultant body that the
                                            surfaces belong to.

  PK_REPORT_1_fa_sx_repair_c  : old_items : FACEs from the original body that
                                            were modified as a result of
                                            repairing self-intersections.
                                new_items : FACEs on the resultant body that
                                            were created as a result of
                                            repairing self-intersections.

  PK_REPORT_1_deform_surf_c   : old_items : FACEs from the original body
                                            corresponding to the b-SURFACEs
                                            reported in new_items.
                                new_items : b-SURFACEs which were successfully
                                            constructed by a deform operation
                                            before the failure which triggered
                                            the report.

For the following status type, no additional information is returned.

  PK_REPORT_1_negated_body_c
  PK_REPORT_1_large_transf_c