PK_BSURF_ask_knots   

PK_ERROR_code_t                PK_BSURF_ask_knots
(
--- received arguments ---
PK_BSURF_t                     bsurf,         --- Query surface
PK_PARAM_direction_t           u_or_v,        --- which knot vector to return
const PK_BSURF_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 unique knots and the multiplicities of
a given B-surface.


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.