 |
PK_outline_curve_t |
|
struct PK_outline_curve_s
{
int n_curves;
PK_CURVE_t *curves;
PK_INTERVAL_t *intervals;
double *tolerances;
int n_large_separations;
double *large_separations;
int *large_separation_indices;
};
typedef struct PK_outline_curve_s PK_outline_curve_t;
A structure packaging the result of an outline.
Used in:
PK_BODY_make_persp_outline_r_t
The structure has the following fields:
'n_curves' The number of curves in the outline.
'curves' An array of length 'n_curves', each element holding
information of an outline curve.
'intervals' An array of length 'n_curves', each element holding
information of the interval corresponding to an
outline curve.
'tolerances' An array of length 'n_curves', each element holding
information of the tolerance corresponding to an
outline curve.
'n_large_separations' The number of large separations.
'large_separations' The separations between neighbouring curves that
exceed the operation tolerance.
'large_separation_indices' The indices into the 'curves' array of the curves
which have large separations at their starting
positions.
The separation of a projected outline curve is the distance between the end of
the previous curve and the start of the curve. If the value of 'project' is
set to PK_outline_project_no_c, 'n_large_separations' will be zero and no
separations will be returned.