 |
PK_EDGE_offset_on_body_r_t |
|
struct PK_EDGE_offset_on_body_r_s
{
PK_offset_on_body_t status; --- the status of the offset
int n_fault_entities; --- number of entities
--- associated with the status
PK_ENTITY_t *fault_entities; --- associated entities
};
typedef struct PK_EDGE_offset_on_body_r_s PK_EDGE_offset_on_body_r_t;
This structure contains the results of offsetting a set of edges in the
faces of their body. The PK memory associated with this structure may be
freed by calling PK_EDGE_offset_on_body_r_f
Used in:
PK_EDGE_offset_on_body
PK_EDGE_offset_on_body_r_f
Description of fields:
'status' The status of the offset operation.
'n_fault_entities' The number of fault entities returned.
'fault_entities' An array of entities associated with the given status.
The entities that may be returned with each status are:
PK_offset_on_body_ok_c: None
PK_offset_on_body_fail_c: A vertex or edge and a point
where the failure occurred
PK_offset_on_body_bad_dirn_c: A laminar edge that cannot be
offset in the direction specified
PK_offset_on_body_connected_c: The vertices at the ends of the
connected chains of edges and any
superfluous ring edges
PK_offset_on_body_outside_c: None
PK_offset_on_body_general_c: Non-manifold edges and vertices
blocking the operation