 |
PK_FIN_find_surf_parameters |
|
PK_ERROR_code_t PK_FIN_find_surf_parameters
(
--- received arguments ---
PK_FIN_t fin, --- fin
double t, --- t parameter on curve attached to 'fin'
PK_LOGICAL_t estimate, --- whether 'parms_est' is to be used
PK_UV_t parms_est, --- estimate of u,v parameters
--- returned arguments ---
PK_UV_t *const parms --- u,v parameters on surface attached to 'fin'
)
This function computes fin surface parameters corresponding to the given
curve parameter.
Specific Errors:
PK_ERROR_missing_geom the given fin has no associated curve
PK_ERROR_bad_parameter not coincident with curve and surface
The function returns the parameter points (u,v) on the surface connected to
the given fin that correspond to the parameter 't' on the curve of 'fin'.
Parameter points must lie on both the curve and the surface that are attached
to 'fin'.
'fin' can be attached to a tolerant or untoleranced edge.
If 'estimate' is PK_LOGICAL_true, 'parms_est' will be used as an
estimate of u and v parameters.