Hermite spline curves#

class splinebox.spline_curves.HermiteSpline(M, basis_function, closed=False, control_points=None, tangents=None, padding_function=<function padding_function>)#

Class for the construction of a Hermite spline. It inherits from splinebox.spline_curves.Spline. Here, we only document the additional methods and attributes. For information on the inherited methods and attributes refere to the documentation of splinebox.spline_curves.Spline.

Parameters#

Mint

Number of control points.

basis_functionsplinebox.basis_functions.BasisFunction

The basis function used to construct the spline. The multigenerator attribute has to be true and the eval method has to return two values instead of one.

closedboolean

Whether or not the spline is closed, i.e. the two ends are connected.

HermiteSpline.tangents#

The tangents of this spline.