.TH FFMATCH 6 "IRIT Version 6.0" .SH NAME FFMATCH FFMATCH( CurveType Crv1, CurveType Crv2, NumericType Reduce, NumericType Samples, NumericType ReparamOrder, NumericType Rotate, NumericType NormType ) Computes a reparametrization to Crv2 so it fits Crv1, the best under some prescribed norm, NormType. Currently the following norms are valid for NormType Value Description 1 Suitable for ruled and blended curves, for modeling. See RULEDSRF. 2 Suitable for metamorphosis of curves. See CMORPH. 3 Distance norm in "walking the dog" notion. 4 Bisector (skeleton) matching norm for two curves. Whenever negative norms can result (for example, in cases were self intersection cannot be prevented in ruled surface constructions), one can allow negativity with no extra penalty by applaying neative NormType. Use of positive only norms would yield no output at all if no matching with positive weights can be established whereas allowing negative norm values would result in the globally optimal result, but with possibly self intersectiions. The reparametrization is computed by sampling a fix set of size Samples off both curves, and fitting a Bspline curve of length Reduce as the reparametrization curve. Hence, Reduce must be less than or equal to Samples. The reparametrization curve will have order of ReparamOrder. If Rotate is TRUE or ON, then attempt is made to rotate the reparametrization of the curves. Rotation can be used on closed curves only. See RULEDSRF and CMORPH for examples.