
PK_BCURVE_create_by_fitting_o_t
struct PK_BCURVE_create_by_fitting_o_s
{
int o_t_version; --- option structure version number
int n_curves; --- number of bcurves to create (0)
PK_BCURVE_fit_data_t *fit_data; --- array of fitting data (NULL)
PK_INTERVAL_t range; --- parameter range for bcurves
--- (0,1)
double tolerance; --- distance tolerance (0.00001)
double angular_tolerance; --- angular tolerance (0.0)
int n_break_parms; --- number of break parms (0)
double *break_parms; --- break-parameters (NULL)
};
typedef struct PK_BCURVE_create_by_fitting_o_s PK_BCURVE_create_by_fitting_o_t;
Holds optional controls for the fitting of bcurves.
This structure contains the following fields:
n_curves the number of bcurves to be produced.
fit_data an array of length n_curves specifying for each
bcurve the fitting method to be used and the
associated data.
range the parameter range for the resultant bcurves. The
bcurves will exactly fit the sample points at the
start and end of this range.
tolerance the distance tolerance to within which the bcurves
will fit the sample data.
angular_tolerance if non-zero, the maximum angle between the tangents
of the bcurves and the tangents from the sample data.
Note that this will require the calculation of first
derivatives at all sample parameters during the fit.
n_break_parms the number of break_parms supplied.
break_parms a strictly increasing array of length n_break_parms
of parameter values lying within range. The
resultant bcurves will exactly pass through the sample
points at these values.