PK_BCURVE_make_matched   


PK_ERROR_code_t    PK_BCURVE_make_matched
(
--- received arguments ---
int                                 n_bcurves,  --- number of bcurves ( >=2 )
const PK_BCURVE_t                   bcurves[],  --- unmatched bcurves
const PK_BCURVE_make_matched_o_t   *options,    --- options on matching

--- returned arguments ---
PK_BCURVE_t                         matched[]   --- b-curves output
)


This function takes bcurves and creates a new set of curves matched which
are identical in shape to the original curves, but whose knot sets are all the
same as each other.


Specific Errors:
    PK_ERROR_insufficient_curves    insufficient curves to match
    PK_ERROR_bad_curves             invalid curves for matching
    PK_ERROR_bad_knots              invalid knot vectors


At least two B-curves must be supplied (n_bcurves >= 2).

The degree of the resulting curves will be the maximum of the degrees of the
supplied curves.

If any of the supplied curves are rational, all the resulting curves will
be rational.

The knot sets of the resulting curves will be the union of the knot sets of
all the supplied curves after shifting and scaling to have the same range.