**Name**

**kspline** Generate one spline-curve from one control points curve

**Command Synopsis**

**kspline** [-j *order*] [-s *step*] *cv_control_pts* *kspline*

-jorder: order of the spline (default: 3 - cubic spline-)

-sstep: step between two parameter values t (default: 0.1)

cv_control_pts: set of control points (curve input)

kspline: B-spline curve (curve output)

**Function Summary**

void kspline (C , Step , P , spline )

int *C ;

float *Step ;

Curve P , spline ;

**Description**

This module takes a set of control points (*P*_{i})_{i}, given as the curve
*cv_control_pts*, and
generates one B-spline curve *P* (*kspline*)
which is a smooth interpolation of the
input curve:

`-j`

option and must satisfy
2 `-s`

option allows to change the step for the parameter

**Version 1.3**

Last Modification date : Thu Jan 24 18:22:44 2002

**Author**

Jacques Froment