Mapping Euler spiral (clothoid) parameters

Click For Summary
The discussion focuses on interpreting parameters for an XML file related to Euler spirals, specifically for a transition curve or clothoid curve. Key parameters include Length, StartPos, StartTangent, CurveSign, and L0, with the user seeking clarification on Sharpness and Offset. The user believes that StartPos and StartTangent define the curve's starting location and direction, while L0 parameters likely relate to the curve's end. There is an emphasis on the need for a description of the XML tags to accurately interpret the data. The ultimate goal is to render the curve as connected line segments in Cartesian coordinates.
rivimey
Messages
1
Reaction score
0
Hi... first post here! Sorry if not in the right place.

I am trying to decode the parameters for an xml file format and I would appreciate help in interpreting some parameters. I know the thing specified is a "transition curve" or clothoid curve, as the transition between a straight path and a fixed-radius curve. The parameters I am given are:

*Length (1 floats)
*StartPos (x,y location)
*StartTangent (2 floats)
*CurveSign (1 float - either 1 or -1)
Sharpness (1 float)
Offset (1 float)
OffsetIsZero (bool)
L0 (1 float)
TraversalSign (1 float - either 1 or -1)
L0Offset (4 floats)
L0Tangent (2 floats)

* means these parameters are also seen in a standard curve (together with "Curvature" = 1/radius).
StartTangent is specified as 2 floats which are the args to atan2(x,y)

I believe that StartPos, StartTangent, CurveSign specify the location and direction of the curve at the "straight" end, and Length is the length of the curve (not the chord).

My guess is that the L0 parameters define something about the other, curved end. Most likely L0Tangent is the tangent at that end. I don't know what Sharpness or Offset might relate to.

Can anyone confirm my guesses and/or help with any other suggestions?

The objective us to interpret this data and render the curve as a set of connected line segments in Cartesian coordinates.

Ruth

[I found online a definition of "transition spiral" at http://mysite.du.edu/~jcalvert/railway/transpir.htm which is helpful for background.]
 
Mathematics news on Phys.org
One cannot answer this without a description of the xml tags. xml is an agreement to exchange data, but the meaning other than encoded in the tags would be guesswork. It looks as if ##L0## is the length of a curve segment or the parameterization in
$$
\begin{bmatrix}x(l)\\y(l)\end{bmatrix} = A\sqrt{\pi} \int_0^l \begin{bmatrix}\cos(\frac{\pi t^2}{2})\\ \sin(\frac{\pi t^2}{2})\end{bmatrix}\,dt
$$
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
Replies
13
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
5K
  • · Replies 25 ·
Replies
25
Views
6K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K