PK_SURF_fix_degens_r_t   

struct PK_SURF_fix_degens_r_s
    {
    PK_SURF_t       res_surf;
    PK_fix_status_t status;
    double          achieved_tol;
    double          achieved_radii[2];
    };

typedef struct PK_SURF_fix_degens_r_s PK_SURF_fix_degens_r_t;



A structure packaging the resultant fixed surface.

Used in:

PK_SURF_fix_degens


The structure has the following fields :

'res_surf'        The resultant surface.

'status'          Whether the resultant surface 'res_surf' is exactly
                  coincident with the input 'surf', 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_surf' and the input 'surf'.

'achieved_radii'  The minimum radii of curvatures in repaired regions of the
                  surface. The first entry in the array is for the minimum
                  radius in the direction of the surface normal, and the second
                  entry is for the direction opposite to the surface normal.
                  Both entries will be non-negative. Note that the resultant
                  surface may have lower radii of curvature than these values,
                  if the input 'surf' is also 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).