PK_FGPRSU_f_t   

typedef void (*PK_FGPRSU_f_t)
(
--- received arguments ---
int      ki_ints[],
double   ki_reals[],
double   fg_data[],
--- returned arguments ---
double   range[4],
int      period[2],
int     *ifail
);


Return foreign surface parameterisation properties.

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, after FGCRSU has initialised the surface, to
indicate to Parasolid some of the parametric properties of the surface. The
function can specify the parameter ranges of the surface and indicate whether
it is to be treated as periodic in u and/or v.

If the ifail value is set to FGPROP then Parasolid uses default
properties for the surface evaluator: there is no need to set the range and
periodicity flag. Default properties are parameter ranges [0, 1] for both
u and v parameters and periodicity flags FGPRBD for both parameters
(i.e. non-periodic parameterisation).

If the ifail value is set to FGOPOK then this function must set the range
array and the periodicity flags array.

     range[0], range[1] are lower and upper u parameter values
     range[2], range[3] are lower and upper v parameter values
     period[0] is the u parameter periodicity flag (must be FGPRBD)
     period[0] is the v parameter periodicity flag (must be FGPRBD)

Note : Closed and periodic surfaces are NOT permitted in the current
       version of Parasolid. This function includes the periodic argument for
       upwards compatibility with future planned enhancements to FG
       capability.

Specific ifail values:
  FGOPFA              Operation failed
  FGPROP              Use default parameter properties
( FGOPOK              Operation successful )