| 396 | } |
| 397 | |
| 398 | int LNLIB_NURBSCUR_insert_knot( |
| 399 | LN_NurbsCurve_C curve, |
| 400 | double knot, |
| 401 | int times, |
| 402 | LN_NurbsCurve_C* out_curve) { |
| 403 | LN_NurbsCurve result; |
| 404 | int r = NurbsCurve::InsertKnot(FromCAPI(curve), knot, times, result); |
| 405 | if (r >= 0) *out_curve = ToCAPI(result); |
| 406 | return r; |
| 407 | } |
| 408 | |
| 409 | int LNLIB_NURBSCUR_remove_knot( |
| 410 | LN_NurbsCurve_C curve, |