![]() |
PK_FGPRCU_f_t |
typedef void (*PK_FGPRCU_f_t) ( --- received arguments --- int ki_ints[], double ki_reals[], double fg_data[], --- returned arguments --- double range[2], int *period, int *ifail ); Return foreign curve parameterisation properties. Note: You are advised to consult with Parasolid Support before using Foreign Geometry.
PK_SESSION_ask_fru_o_t
PK_SESSION_frustrum_t
PK_SESSION_register_fru_o_t
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 )