normal#

Spline.normal(t, frame='bishop', initial_vector=None)#

Returns the normal vector for 1D and 2D splines. The normal vector points to the right of the spline when facing in the direction of increasing t.

Parameters#

tfloat or numpy array

The parameter value(s) for which the normal vector(s) are computed.

frame“bishop” | “frenet”

The type of frame used for 3D curves.

initial_vectornumpy array

Fixes the initial orientation of the normals at position t[0].

Returns#

normalsnumpy array

The normal vectors.