8.14.5 CardinalSpline class: A class representing a cardinal spline.

The CardinalSpline class has this constructor:

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

The Cardinal Spline with given tension is a Bezier Spline with curl: curl = ( 1 - tension) / 3 The separate class name is retained for compatibility and convenience. See CardinalSpline2 for a direct implementation (it misses the end intervals of the point set).

CardinalSpline objects have the following methods: