 |
PK_BCURVE_clamp_knots |
|
PK_ERROR_code_t PK_BCURVE_clamp_knots
(
--- received arguments ---
PK_BCURVE_t bcurve, --- bcurve
const PK_BCURVE_clamp_knots_o_t *options --- options
)
This function modifies the given 'bcurve' by clamping its knotset to
have bezier end conditions.
Specific Errors:
PK_ERROR_cant_make_bspline clamping on the bcurve failed and
the bcurve remains unmodified (MILD)
If the bcurve already has bezier end conditions, the function will succeed and
the bcurve will be returned unchanged.