typedef void (*PK_FGPRCU_f_t)(int ki_ints[],
double ki_reals[],
double fg_data[],
double range[2],
int *period,
int *ifail);
Return foreign curve parameterisation properties.
This function is called, after FGCRCU has initialised the curve, to indicate
to Parasolid some of the parametric properties of the curve. The function
can specify the parameter range of the curve and indicate whether it is to
be treated as periodic.
If the ifail value is set to FGPROP then Parasolid uses default
properties for the curve evaluator: there is no need to set the range and
periodicity flag. Default properties are parameter range [0, 1] and
periodicity flag FGPRBD (i.e. non-periodic parameterisation).
If the ifail value is set to FGOPOK then this function must set the
parameter range and periodicity flag:
range[0] = lowest parameter value
range[1] = highest parameter value
*period = FGPRBD (must have non-periodic parameterisation)
Note : Closed and periodic curves are NOT permitted for the current
version of Parasolid. This function includes the periodic
argument for upwards compatibility with future planned enhancements
to FG capability.
For more details of this function please refer to the Foreign Geometry
documentation.
Specific ifail values:
FGOPFA Operation failed
FGPROP Use default properties
( FGOPOK Operation successful )