PK_ERROR_code_t PK_BCURVE_create ( --- received arguments --- const PK_BCURVE_sf_t *bcurve_sf, --- b-curve standard form --- returned arguments --- PK_BCURVE_t *const bcurve --- b-curve ) This function creates a b-curve from the standard form. Specific Errors: PK_ERROR_zero_interval knot set covers a zero interval PK_ERROR_periodic_open periodic curve is not closed PK_ERROR_periodic_not_smooth periodic curve is not smooth at the join PK_ERROR_cant_make_bspline failed to create the curve PK_ERROR_insufficient_points invalid number of verticies PK_ERROR_weight_le_0 invalid weight PK_ERROR_bad_knots knot set is not monotonic increasing Takes a standard form, and creates a b-curve. Refer to the documentation of PK_BCURVE_sf_t for a description of the standard form. It is the responsibility of the application to ensure that the curve does not intersect itself, and that any periodic join has G1 continuity.