struct PK_TOPOL_fctab_error_facet_s
{
int *facet;
int length;
};
typedef struct PK_TOPOL_fctab_error_facet_s
PK_TOPOL_fctab_error_facet_t;
This is a support structure for PK_TOPOL_facet_r_t. It contains pairs of
integers which indicate whether any faults were detected during facetting.
If the table is returned empty, this denotes that no faults were found.
The first entry is an integer token of type PK_facet_fault_t.
The second is its associated facet index or a PK entity value.
first integer value in pair second integer value in pair
--------------------------- ----------------------------
PK_facet_fault_face_c The specified PK_FACE_t entity could not be
facetted using the specified mesh controls.
It implies that part of the generated facet
mesh is missing.
PK_facet_fault_facet_c The specified facet (whose index is given) is
disconnected from some neighbouring facets.
The topology of the generated facet mesh is
valid but may contain superflous 'slit edges'.
PK_facet_fault_vertex_point_c The coordinate of the specified vertex (whose
index is given) did not match any vertex_point
coordinates on adjacent faces. The facet mesh
may contain small gaps close to this point.
PK_facet_fault_vertex_normal_c The facet function was unable to calculate an
accurate surface normal value at the position
of the facet vertex (whose index is given).
The vector referenced by this vertex's
'vertex_normal' table should not be used.
PK_facet_fault_vertex_param_c The facet function was unable to calculate
accurate parameter values at the position
of the facet vertex (whose index is given).
The uv, dp and/or the dp2 parameter values
referenced by this vertex's 'vertex_param'
table should not be used.
PK_facet_fault_thin_face_c No facets were output for the specified
PK_FACE_t entity because the face is very thin.
Although a facet may not be output for a given
face, this is not an indication that facetting
has failed.
PK_facet_fault_body_c The specified PK_BODY_t entity could not be
facetted using the specified mesh controls. It
implies that no facet mesh has been generated
for this body.