PK_DEBUG_local_diffs_r_t   


struct PK_DEBUG_local_diffs_r_s
    {
    PK_DEBUG_diff_t                 diff;
    PK_ENTITY_t                     master_entity;
    int                             master_int;
    double                          master_double;
    PK_CLASS_t                      master_class;
    PK_LOGICAL_t                    master_logical;
    PK_ENTITY_t                     similar_entity;
    int                             similar_int;
    double                          similar_double;
    PK_CLASS_t                      similar_class;
    PK_LOGICAL_t                    similar_logical;
    };

typedef struct PK_DEBUG_local_diffs_r_s PK_DEBUG_local_diffs_r_t;




This structure defining each local difference returned from the function,
detailing the difference types and the difference data, where relevent,
in each body.

Used in:

PK_DEBUG_face_pair_r_t


Description of fields:



'diff'              Type of local difference returned.


'master_entity'     The entity (or PK_ENTITY_null) in the master body.


'master_int'        Field containing any integer data relating to the
                    difference in the master body.
                    (see table below for details)


'master_double'     Field containing any double data relating to the
                    difference in the master body.
                    (see table below for details)


'master_class'      Field containing any class data relating to the
                    difference in the master body.
                    (see table below for details)


'master_logical'    Field containing any logical data relating to the
                    difference in the master body.
                    (see table below for details)


'similar_entity'    The corresponding entity (or PK_ENTITY_null) in the
                    similar body.


'similar_int'       Field containing any integer data relating to the
                    corresponding difference in the similar body.
                    (see table below for details)


'similar_double'    Field containing any double data relating to the
                    corresponding difference in the similar body.
                    (see table below for details)


'similar_class'     Field containing any class data relating to the
                    corresponding difference in the similar body.
                    (see table below for details)


'similar_logical'   Field containing any logical data relating to the
                    corresponding difference in the similar body.
                    (see table below for details)



Table of data:

Difference_type             |Master |Similar|Description       |Data
                            |Entity |Entity |                  |returned
------------------------------------------------------------------------------
PK_DEBUG_diff_n_loops_c     |Face   |Face   |Different no.     |master_int
                            |       |       |loops             |similar int
------------------------------------------------------------------------------
PK_DEBUG_diff_n_fins_c      |Face   |Face   |Different no.     |master_int
                            |       |       |fins              |similar int
------------------------------------------------------------------------------
PK_DEBUG_diff_n_vxs_c       |Face   |Face   |Different no.     |master_int
                            |       |       |vertices          |similar_int
------------------------------------------------------------------------------
PK_DEBUG_diff_n_cht_pts_c   |Curve  |Curve  |Different no.     |master_int
                            |       |       |chart points on   |similar_int
                            |       |       |intersection      |
                            |       |       |curves            |
------------------------------------------------------------------------------
PK_DEBUG_diff_surf_dev_c    |Surface|Surface|Non-duplicate     |master_double
                            |       |       |surfaces maximum  |
                            |       |       |deviation distance|
------------------------------------------------------------------------------
PK_DEBUG_diff_vx_dev_c      |Vertex |Vertex |Maximum deviation |master_double
                            |       |       |distance          |
------------------------------------------------------------------------------
PK_DEBUG_diff_curve_dev_c   |Curve  |Curve  |Non-duplicate     |master_double
                            |       |       |curves maximum    |
                            |       |       |deviation distance|
------------------------------------------------------------------------------
PK_DEBUG_diff_surf_class_c  |Surface|Surface|Different surface |master_class
                            |       |       |classes           |similar class
------------------------------------------------------------------------------
PK_DEBUG_diff_curve_class_c |Curve  |Curve  |Different fin     |master_class
                            |       |       |curve class       |similar_class
------------------------------------------------------------------------------
PK_DEBUG_diff_edge_tol_c    |Edge   |Edge   |Different edge    |master_double
                            |       |       |tolerance         |similar_double
------------------------------------------------------------------------------
PK_DEBUG_diff_vx_tol_c      |Vertex |Vertex |Different vertex  |master_double
                            |       |       |tolerance         |similar_double
------------------------------------------------------------------------------
PK_DEBUG_diff_face_sense_c  |Face   |Face   |Different face    |master_logical
                            |       |       |senses            |similar_logical
------------------------------------------------------------------------------
PK_DEBUG_diff_surf_sense_c  |Surface|Surface|Different surface |master_logical
                            |       |       |senses            |similar_logical
------------------------------------------------------------------------------
PK_DEBUG_diff_curve_sense_c |Curve  |Curve  |Different curve   |master_logical
                            |       |       |sense             |similar_logical
------------------------------------------------------------------------------
PK_DEBUG_diff_vx_missing_c  |Vertex or      |Missing vertex    |
                            |PK_ENTITY_null |                  |
------------------------------------------------------------------------------
PK_DEBUG_diff_face_match_c  |Face or        | Non-matched faces|
                            |PK_ENTITY_null |                  |
------------------------------------------------------------------------------
PK_DEBUG_diff_fin_match_c   |Face or        |Non-matched       |
                            |PK_ENTITY_null |fin               |
------------------------------------------------------------------------------
PK_DEBUG_diff_vx_match_c    |Vertex or      |Non-matched       |
                            |PK_ENTITY_null |isolated vertex   |
------------------------------------------------------------------------------

NB: Deviation tests designed to detect differences in surfaces or curves,
deploy modest, non-exhaustive sampling methods and are therefore unsuitable
for reliably detecting highly localised deviations in otherwise identical
geometries.