 |
PK_blend_delete_unders_data_t |
|
struct PK_blend_delete_unders_data_s
{
int n_blends; --- number of blend faces ( 0 )
const PK_FACE_t *blends; --- blend faces ( NULL )
const PK_ENTITY_array_t *unders; --- underlying entities for each of the
--- 'blends' ( NULL )
};
typedef struct PK_blend_delete_unders_data_s PK_blend_delete_unders_data_t;
This structure contains blend faces for which underlying entities have been
supplied and their associated underlying entities.
Specific Errors:
PK_ERROR_unsuitable_entity A member of 'blends' is a face that is not
being deleted
(MILD)
PK_ERROR_bad_combination The number of unders supplied for each blend
should be 2 or 3
(MILD)
PK_ERROR_wrong_entity An array in 'unders' contains entities that
are not of class PK_CLASS_face, PK_CLASS_edge
or PK_ENTITY_null
(MILD)
An array in 'unders' does not satisfy either
of the configuration tables given below.
(MILD)
PK_ERROR_not_in_same_body More than one of the 'unders' supplied
for a blend does not lie in the same body as
the blend
(MILD)
Used in:
PK_FACE_delete_blends_o_t
This structure contains the blend faces for which underlying entities
have been supplied.
Description of fields:
'n_blends' Length of 'blends' and 'unders'.
The default value is 0.
'blends' An array, of length 'n_blends', of blend faces for which
underlying faces have been specified.
The default value is NULL.
'unders' Arrays of underlying entities associated with the 'blends'.
Each array should be of length 2 or 3.
The default value is NULL.
Blends between faces:
Blends between faces which are not adjacent to their underlying faces should
have two or three underlying faces supplied. At least one face must be
adjoining the corresponding blend face.
Cliff edge blends:
Cliff edge blends should have an underlying face and a cliff edge supplied as
their underlying entities. The underlying face must adjoin the corresponding
blend face along a single edge and the cliff edge must be an edge of
the corresponding blend face. The boundary of the blend chain between the
blends and their underlying faces must also be a g1-continuous chain of edges
Notch blends:
Fully and partially notched edge blends should have an underlying face and a
PK_ENTITY_null supplied as their underlying entities, where the PK_ENTITY_null
value represents the missing under.
A notched branch blend should have two of its underlying faces supplied and
a PK_ENTITY_null. The two underlying faces should be blend faces and belong
to the 'blends' array.
The boundary edge between two adjacent notch edge blend faces in 'blends' array
that belong to the same chain should be smooth.
Allowed configurations for edge blend unders:
------------------------------------------------------------
|Blend between faces |PK_CLASS_face (*) | PK_CLASS_face |
------------------------------------------------------------
|Notch blend |PK_CLASS_face (*) | PK_ENTITY_null |
------------------------------------------------------------
|Cliff blend |PK_CLASS_face (*) | PK_CLASS_edge(*) |
------------------------------------------------------------
(*) The entity must be adjacent to its blend.
Allowed configurations for branch blend unders:
-----------------------------------------------------------------------------
|Blend between faces |PK_CLASS_face | PK_CLASS_face | PK_CLASS_face |
----------------------------------------------------------------------------|
|Notch blend |PK_CLASS_face (**)| PK_CLASS_face (**)| PK_ENTITY_null|
-----------------------------------------------------------------------------
(**) The entity must belong to 'blends' array and be adjacent to the
notch blend.