The CardinalSpline class has this constructor:
pts,tension=0.0,closed=False) |
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: