I am trying to connect two points with a Clothoid (Euler-Spiral) https://en.wikipedia.org/wiki/Euler_spiral . It is mandatory to connect the points with the correct start and endHeading of the tangents.
ÜE and ÜA are member of the tangents g and f
The tangents are intersecting in point E(2,0) and intersecting arc is t = 45° which is also needed for the calculation of the clothoid.
Now some basic Clothoid Formulas I have tried so far: Declaration of Formula
Clothoids have the following parameters:
X = L * (1-((t * t)/10) * (1-((t * t)/21.6) * (1 - ((t * t)/43.333))));
Y = ((L * t) / 3) * ((1-((t * t)/14) * (1 - ((t * t)/31.429))));
Those formula are correct because I am able to check my solution with a graphic editor software. Does anyone have a solution for this problem or can help me what am I doing wrong?
ÜE and ÜA are member of the tangents g and f
The tangents are intersecting in point E(2,0) and intersecting arc is t = 45° which is also needed for the calculation of the clothoid.
Now some basic Clothoid Formulas I have tried so far: Declaration of Formula
Clothoids have the following parameters:
- the shape parameter A
- the radius of curvature R at the end point
- the arc length L
- the tangent angle t
- the tangent disengagement deltaR
X = L * (1-((t * t)/10) * (1-((t * t)/21.6) * (1 - ((t * t)/43.333))));
Y = ((L * t) / 3) * ((1-((t * t)/14) * (1 - ((t * t)/31.429))));
Those formula are correct because I am able to check my solution with a graphic editor software. Does anyone have a solution for this problem or can help me what am I doing wrong?