PK_BCURVE_ask_knots   

PK_ERROR_code_t                PK_BCURVE_ask_knots
(
--- received arguments ---
PK_BCURVE_t                    bcurve,        --- b-curve to query
const PK_BCURVE_ask_knots_o_t *options,       --- Option structure

--- returned arguments ---
int                     *const n_knots,       --- number of knots
double                 **const knots,         --- knot values
int                    **const multiplicities --- corresponding multiplicities
)


This function returns the uniques knots and the multiplicities of
a given B-curve.


Optionally one may specify that the full knot vector (expanded according to
multiplicity) be returned. In this case the integer array of multiplicities
is not used and assigned to NULL.