 |
PK_DEBUG_BODY_compare_o_t |
|
struct PK_DEBUG_BODY_compare_o_s
{
int o_t_version; --- version number
--- of option structure
int max_diffs; --- maximum no. face pairs
--- returned (0)
PK_LOGICAL_t all_tests; --- perform all local tests
--- (PK_LOGICAL_true)
PK_LOGICAL_t num_tests; --- perform numerical tests
--- (PK_LOGICAL_true)
PK_LOGICAL_t acc_dev_tests; --- perform accurate
--- deviation tests
--- (PK_LOGICAL_true)
PK_LOGICAL_t tol_dev_tests; --- perform tolerant
--- deviation tests
--- (PK_LOGICAL_false)
PK_LOGICAL_t tol_tests; --- perform tolerance tests
--- (PK_LOGICAL_true)
PK_LOGICAL_t class_tests; --- perform class tests
--- (PK_LOGICAL_true)
PK_LOGICAL_t sense_tests; --- perform sense tests
--- (PK_LOGICAL_true)
PK_LOGICAL_t missing_tests; --- perform missing entity
--- tests
--- (PK_LOGICAL_true)
PK_LOGICAL_t non_match_tests; --- perform non-matched
--- pairs tests
--- (PK_LOGICAL_true)
};
typedef struct PK_DEBUG_BODY_compare_o_s PK_DEBUG_BODY_compare_o_t;
This option structure contains the optional controls for
PK_DEBUG_BODY_compare.
Used in:
PK_DEBUG_BODY_compare
Description of fields:
'max_diffs' If 'max_diffs' = 0, only global comparison tests will
be performed on the bodies, for instance, comparison of
the number of vertices/edges or faces in the body.
If 'max_diffs' > 0, then more expensive tests will
first attempt to match face pairs, each pair consisting
of one face selected from each body on the basis of
broad similarities. Analysis will then be performed to
detect any differences between each face of a matched pair.
Analysis of remaining matched pairs will continue until
'max_diffs' matched face pairs have been found which are
considered non-identical by those comparison tests which
have been specified.
The faces which remain unmatched represent a significant
difference between the bodies, therefore the option to
return non-matched faces is recommended. The default
value of the field is zero.
Note that since only matched face pairs are checked, it
follows that local differences between wire edges will not
be detected.
'all_tests' Perform all local comparison tests. If 'max_diffs' = 0,
this argument will be ignored.
'num_tests' Perform 'max_diffs' numerical comparison tests.
'acc_dev_tests' Perform 'max_diffs' accurate deviation comparison tests.
'tol_dev_tests' Perform 'max_diffs' deviation comparison tests to within
session precision.
'tol_tests' Perform 'max_diffs' tolerance comparison tests.
'class_tests' Perform 'max_diffs' class comparison tests.
'sense_tests' Perform 'max_diffs' sense comparison tests.
'missing_tests' Perform 'max_diffs' missing entity comparison tests.
'non_match_tests' Perform 'max_diffs' non-matched entity pairs comparison
tests.