PK_FGCRCU_f_t   

typedef void (*PK_FGCRCU_f_t)
(
--- received arguments ---
const char *key,
int        *keylen,
int        *n_kii,
int         ki_ints[],
int        *n_kir,
double      ki_reals[],
int        *n_data,
--- returned arguments ---
double fg_data[],
int   *ifail
);


Initialise a foreign curve.

Note: You are advised to consult with Parasolid Support before using Foreign
Geometry.

Used in:

PK_SESSION_ask_fru_o_t
PK_SESSION_frustrum_t
PK_SESSION_register_fru_o_t


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 )