typedef void (*PK_FGCRCU_f_t)(const char *key, int *keylen, int *n_kii, int ki_ints[], int *n_kir, double ki_reals[], int *n_data, double fg_data[], int *ifail); Initialise a foreign curve. This function is called when an FG curve is requested by the PK function PK_FSURF_create. The purpose of this function is to initialise any FG data that is required by the evaluator and to check that the real and integer data items meet the requirements of the requested evaluator. A successful call to this function indicates to Parasolid that evaluations of this curve may now be requested. For more details of this function please refer to the Foreign Geometry documentation. Specific errors: FGGEOM Curve evaluator not available FGDATA Curve evaluator data not found FGFILE Curve evaluator data allocation fault FGIERR Curve evaluator integer data error FGRERR Curve evaluator real data error ( FGOPOK Operation successful )