Curves_Functions module

Created on Wed Jan 24 15:49:14 2024

@author: marti

class Curves_Functions.Curves(Span_X, Span_Y, Length)[source]

Bases: object

Bezier_Curve()[source]

The Cubic Bezier Polynoms are taken from Wikipedia!

Returns:

curve – curve[:,0] - X Param of the Bezier Curve curve[:,1] - Y Param of the Bezier Curve

Return type:

2 dimentional np array

Cosinus_Curve()[source]

The cosinus function is SpanY*(cos((pi/(2*SpanX))*t)^2) —->> t in the range of 0 to SpanY

Returns:

curve – curve[:,0] - X Param of the Bezier Curve curve[:,1] - Y Param of the Bezier Curve

Return type:

2 dimentional np array

Euler_Curve()[source]

Returns a smooth, continuous-curvature Euler S-bend from (0, 0) to (Span_X, Span_Y) using Fresnel integrals and linear curvature.