PK_CURVE_general_user_t   

struct PK_CURVE_general_user_s
    {
    PK_CURVE_general_eval_f_t  eval_fn;           --- user evaluator
    PK_POINTER_t               eval_data;         --- evaluator data
    int                        dimension;         --- curve dimension
    int                        highest_deriv;     --- highest derivative that
                                                  --- 'eval_fn' can compute
    PK_LOGICAL_t               is_closed;         --- closure of curve
    PK_LOGICAL_t               is_periodic;       --- periodicity of curve
    int                        n_discontinuities; --- size of 'discontinuities'
    double                    *discontinuities;   --- array of parameters at
                                                  --- which curve has a
                                                  --- discontinuity
    };

typedef struct PK_CURVE_general_user_s  PK_CURVE_general_user_t;



This structure contains the data for a user-defined general curve.


Specific Errors:
PK_ERROR_bad_parameter  one of the discontinuity parameters is invalid
PK_ERROR_null_evaluator the evaluator 'eval_fn' is null

Used in:

PK_CURVE_general_t



This structure contains the following fields:

'eval_fn'         This field allows an application to supply an evaluator
                  function of form PK_CURVE_general_eval_f_t.

'eval_data'       This contains the data required for the chosen external
                  (application-supplied) evaluator function. It will be
                  passed to the evaluator function whenever Parasolid calls
                  it.  Such data will not be examined by Parasolid.

'dimension'       The dimension of the curve.

'highest_deriv'   The highest derivative that can be computed by the curve.

'is_closed'       Whether or not the curve is closed.

'is_periodic'     Whether or not the curve is periodic.

'discontinuities' The parameter values at which the curve has discontinuities.