8.14.4 BezierSpline class: A class representing a Bezier spline curve.

The BezierSpline class has this constructor:

class BezierSpline( pts,deriv=None,curl=0.5,control=None,closed=False)
Create a cubic spline curve through the given points.

The curve is defined by the points and the directions at these points. If no directions are specified, the average of the segments ending in that point is used, and in the end points of an open curve, the direction of the end segment. The curl parameter can be set to influence the curliness of the curve. curl=0.0 results in straight segment.

BezierSpline objects have the following methods:

sub_points( t,j)