PK_MESH_defect_details_t   

typedef struct PK_MESH_defect_details_s
    {
    PK_MESH_defect_t    defect;         --- token indicating defect type
    int                 n_entities;     --- number of defect entities
    PK_ENTITY_t        *entities;       --- defect entities
    int                 n_mtopols;      --- number of defect mtopols
    PK_MTOPOL_t        *mtopols;        --- defect mtopols
    int                 n_positions;    --- number of positions at which the
                                        --- defect is present
    PK_VECTOR_t        *positions;      --- positions of defect
                                        --- or positions associated with the
                                        --- defect
    int                 n_uv_params;    --- number of uv parameters at which
                                        --- the defect is present
    PK_UV_t            *uv_params;      --- uv parameters at which the defect
                                        --- is present
    }
PK_MESH_defect_details_t;



A structure packaging information about a defect on a mesh.

Used in:

PK_MESH_defect_array_t
PK_MESH_defect_details_f
PK_MESH_find_defects
PK_MESH_imprint_vectors_r_t


This structure contains information about a defect on a mesh.

Every PK_MESH_defect_details_t structure contains a 'defect'. These structures
may also contain 'mtopols', 'positions', and 'uv_params', as shown in the
following table. The fields 'n_entities' and 'entities' are unused; they are
provided for possible future enhancements.

-------------------------------------------------------------------------------
|           'defect'            |      'mtopols'      |'positions'|'uv_params'|
-------------------------------------------------------------------------------
|PK_MESH_defect_corrupt_c       |                     |           |           |
|PK_MESH_defect_non_manifold_c  |                     |           |           |
|PK_MESH_defect_degen_mfacet_c  |degenerate mfacet,   | yes       | yes       |
|                               |degenerate mfin      |           |           |
|PK_MESH_defect_flat_mfacet_c   |mfacet, longest mfin | yes       | yes       |
|                               |        of mfacet    |           |           |
|PK_MESH_defect_mvertex_normal_c|mfacet, mvertex      | yes       | yes       |
|PK_MESH_defect_self_int_c      |intersecting mfacets | yes       | yes       |
|PK_MESH_defect_slit_c          |mfins along slit     | yes       | yes       |
|PK_MESH_defect_foldover_c      |fin-adjacent facets, | yes       | yes       |
|                               |mfins of foldover    |           |           |
|PK_MESH_defect_disjoint_c      |mfacets of distinct  | no        | no        |
|                               |connected components |           |           |
-------------------------------------------------------------------------------

The function PK_MESH_defect_details_f may be used to free associated memory.