 |
PK_CURVE_fix_degens_cu_t |
|
struct PK_CURVE_fix_degens_cu_s
{
PK_CURVE_t res_curve;
PK_fix_status_t status;
double achieved_tol;
double achieved_radius;
};
typedef struct PK_CURVE_fix_degens_cu_s PK_CURVE_fix_degens_cu_t;
A structure packaging a resultant fixed curve.
Used in:
PK_CURVE_fix_degens_r_t
The structure has the following fields :
'res_curve' The resultant curve.
'status' Whether the resultant curve 'res_curve' is exactly
coincident with the input 'curve', an approximation within
'tolerance', or an approximation outside of 'tolerance'.
'achieved_tol' If 'status' is set to PK_fix_status_too_tight_c, this field
gives an upper bound for the maximum deviation between the
'res_curve' and the input 'curve'.
'achieved_radius' The minimum radius of curvature in repaired regions of the
curve. The value will be non-negative. Note that the
resultant curve may have a lower radius of curvature if the
input 'curve' is tightly curved in a region not near a
degeneracy. As a special case, a value of 0.0 indicates the
region has no curvature (i.e. infinite radius of curvature).