 |
PK_BCURVE_fit_data_t |
|
struct PK_BCURVE_fit_data_s
{
PK_BCURVE_fit_eval_type_t eval_type; --- what evaluator to use
--- (PK_BCURVE_fit_eval_chain_c)
PK_BCURVE_fit_eval_f_t eval_fn; --- user evaluator (NULL)
PK_BCURVE_fit_eval_data_t eval_data; --- evaluator data
PK_BCURVE_fit_err_method_t err_method;--- error method for bcurve
--- (PK_BCURVE_fit_err_parm_c)
PK_LOGICAL_t rational; --- if bcurve is to be rational
--- (PK_LOGICAL_false)
};
typedef struct PK_BCURVE_fit_data_s PK_BCURVE_fit_data_t;
This structure contains the controls for fitting an individual bcurve.
Used in:
PK_BCURVE_create_by_fitting_o_t
This structure contains the following fields:
'eval_type' This specifies how sample data should be obtained for this
bcurve. If 'PK_BCURVE_fit_eval_user_c' is chosen then an
evaluator function of the form PK_BCURVE_fit_eval_f_t should
be supplied in 'eval_fn'.
'eval_fn' This field allows an application to supply an evaluator
function of form PK_BCURVE_fit_eval_f_t.
'eval_data' This contains the data required for the chosen
evaluator function. For internal evaluators the application
must supply the appropriate associated data. For external
(application-supplied) evaluators the application can provide
data in this structure which will be passed to the evaluator
function whenever Parasolid calls it. Such data will not be
examined by Parasolid.
'err_method' This controls how Parasolid measures the error between the
bcurve and the sample data. The value
'PK_BCURVE_fit_err_none_c' specifies that the bcurve has no
tolerance checking performed on it. Note that there must be at
least one 'PK_BCURVE_fit_data_t' structure supplied which does
not have this field set to 'PK_BCURVE_fit_err_none_c'.
'rational' This would specify whether the bcurve should be rational. At
present this option is not operational and is for future
enhancements. It should be left at its default value.