functionr_middle
Determine point on road in the middle of the circle (w=0
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | s | 0 | Roads surface parameter 1 (usually arc length along road) |
| Real | radius | 1 | Radius of circle |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[3] | r_0 | {radius*sin(s/radius), -radius*cos(s/radius), 0} |