 |
PK_CURVE_degen_t |
|
struct PK_CURVE_degen_s
{
PK_CURVE_degen_type_t type;
PK_LOGICAL_t have_position;
PK_VECTOR_t position;
PK_INTERVAL_t range;
PK_GEOM_t geom;
};
typedef struct PK_CURVE_degen_s PK_CURVE_degen_t;
A structure packaging information about a degeneracy on a curve.
Used in:
PK_CURVE_degens_t
Each structure contains information on a single region where the curve is
degenerate.
The structure has the following fields:
'type' Indicates the type of degeneracy.
'have_position' If set to PK_LOGICAL_true, then a three-space position is
returned in 'position'.
'position' If 'have_position' is set to PK_LOGICAL_true, this
indicates the position of the degeneracy in three-space.
If 'range' is not zero-width, then the position corresponds
to the parametric centre.
'range' The range of the degeneracy in parameter space. Note that
it is possible to have zero-width parameter ranges.
'geom' The geometric node containing the degeneracy. If 'type' is
PK_CURVE_degen_type_phys_c or PK_CURVE_degen_type_param_c,
this will be the input 'curve'. Otherwise if 'type' is
PK_CURVE_degen_type_on_surf_c, this will be the underlying
surface containing the degeneracy.