PK_ERROR_code_t PK_FIN_find_curve_parameter
(
--- received arguments ---
PK_FIN_t fin, --- fin
PK_UV_t parms, --- u,v parameters of surface attached to fin
PK_LOGICAL_t estimate, --- whether t_est is supplied
double t_est, --- estimate of parameter point t
--- returned arguments ---
double *const t --- t parameter on curve attached to fin
)
This function computes the fin curve parameter corresponding to the given
surface parameters.
Specific Errors:
PK_ERROR_missing_geom given fin has no associated curve
PK_ERROR_bad_parameter not coincident with curve and surface
The function returns the parameter t on the curve of fin that
corresponds to the given parameter pairs on the surface connected to fin.
Parameter points must be in range on the surface and lie within tolerance
of the curve attached to fin.
If estimate is PK_LOGICAL_true, t_est will be used as an estimate of t.
fin can be attached to a tolerant or untoleranced edge. Be aware that
different parameterisations apply on each of the fins of a toleranced edge.