PK_BSURF_ask_piecewise   

PK_ERROR_code_t                PK_BSURF_ask_piecewise
(
--- received arguments ---
PK_BSURF_t                     bsurf,   --- b-surface
PK_piecewise_rep_t             rep,     --- piecewise representation required

--- returned arguments ---
PK_BSURF_piecewise_sf_t *const bsurf_piecewise_sf --- b-surface standard form
)


This function returns the piecewise standard form for a b-surface.


Specific Errors:
    PK_ERROR_bad_order              PK_piecewise_rep_hermite_c requested and
                                    surface is not bicubic. (MILD)


Takes a b-surface and returns its piecewise standard form.
Refer to the documentation of PK_BSURF_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 (bicubic only)
   PK_piecewise_rep_taylor_c            Taylor Series