8.14.6 CardinalSpline2 class: A class representing a cardinal spline.

The CardinalSpline2 class has this constructor:

class CardinalSpline2( pts,tension=0.0,closed=False)
Create a natural spline through the given points.

This is a direct implementation of the Cardinal Spline. For open curves, it misses the interpolation in the two end intervals of the point set. It is retained here because the implementation may some day replace the BezierSpline implementation.

CardinalSpline2 objects have the following methods:

compute_coefficients( )

sub_points( t,j)