 |
PK_BSURF_lower_degree |
|
PK_ERROR_code_t PK_BSURF_lower_degree
(
--- received arguments ---
PK_BSURF_t bsurf, --- b-surf
PK_PARAM_direction_t u_or_v, --- the direction in which to
--- reduce the degree
int decrement, --- amount to reduce by
const PK_BSURF_lower_degree_o_t *options --- options
)
This function modifies the given 'bsurf' by reducing its 'u_or_v' degree
by 'decrement'.
Specific Errors:
PK_ERROR_cant_make_bspline degree reduction on the bsurf failed and
the bsurf remains unmodified (SERIOUS)
PK_ERROR_bad_value 'decrement' is not greater than zero (MILD)
PK_ERROR_is_attached 'bsurf' is attached to topology or owned by
other geometry (MILD)