 |
PK_BCURVE_ask_piecewise |
|
PK_ERROR_code_t PK_BCURVE_ask_piecewise
(
--- received arguments ---
PK_BCURVE_t bcurve, --- b-curve
PK_piecewise_rep_t rep, --- piecewise representation
--- returned arguments ---
PK_BCURVE_piecewise_sf_t *const bcurve_piecewise_sf
--- b-curve piecewise standard form
)
This function returns the piecewise standard form for a b-curve.
Specific Errors:
PK_ERROR_bad_order PK_piecewise_rep_hermite_c requested and
curve degree is not 3.
Takes a b-curve and returns its piecewise standard form.
Refer to the documentation of PK_BCURVE_piecewise_sf_t.
One of several possible representations is requested by the argument 'rep'
which may be one of:
PK_piecewise_rep_bezier_c Bezier
PK_piecewise_rep_polynomial_c Polynomial
PK_piecewise_rep_hermite_c Hermite (cubic only)
PK_piecewise_rep_taylor_c Taylor Series