 |
PK_EDGE_check_blends |
|
PK_ERROR_code_t PK_EDGE_check_blends
(
--- received arguments ---
int n_edges, --- number of edges
const PK_EDGE_t edges[], --- edges to have blends checked
PK_blend_check_t level, --- level of checking required
--- returned arguments ---
PK_blend_fault_t faults[], --- result of check
PK_TOPOL_t fault_topols[] --- topology associated with fault
)
This function checks the unfixed blends on the given edges.
This function does not support facet geometry [NF]
Specific Errors:
PK_ERROR_general_body edge is from general body
This is a diagnostic function, used to determine why PK_BODY_fix_blends
failed, or whether an alteration in an unfixed blend has removed a problem.
edges
For each edge in 'edges' that has a blend attribute attached, the associated
blending surface and parameters are checked for consistency with geometry and
blend attributes attached to neighbouring entities. Edges in 'edges' that have
no blend attribute attached are ignored.
level
If 'level' is PK_blend_check_vertex_c, the blending surface parameters
are checked for consistency at the vertices.
If 'level' is PK_blend_check_full_c, additional checks are made to ensure
that the blend boundaries are legal. Even if PK_EDGE_check_blends
finds no inconsistencies, the blends are not guaranteed to fix; some problems
can only be detected by PK_BODY_fix_blends making up the new faces.
faults, fault_topols
If an edge does not have an unfixed blend then 'faults' is returned as
PK_blend_fault_no_blend_c. If the function finds no problem then 'fault'
is returned as PK_blend_fault_no_fault_c. Otherwise a particular fault is
returned as documented under PK_blend_fault_t and 'fault_topols' returns
an entity as documented there. Some failure codes have no associated topology:
in these cases the entry in 'fault_topols' will be set to PK_ENTITY_null.
This function is not supported for edges on general bodies.