Dev:Railway switch curve
Railway switch consists of a switch, connecting rails and a frog. Connecting rail set of an ordinary switch consists of two straight and curved rails. Curved rails have some radius. This curve is called a switch curve.
In railML3 model it is possible to represent radius of each branch of the railway switch. Negative and positive values have corresponding meaning defined as in the <horizontalCurve>/@radius attribute.
Below you can see some of railway switch @type. Inside curved switch and outside curved switches are presented in their usual location in the schematic track plan.
Depending on the orientation an ordinary railway switch has positive or negative value of @radius of <rightBranch> or <leftBranch>.
Both <rightBranch> and <leftBranch> of inside curved switch should have positive or negative value.
Case | leftBranch/@radius | rightBranch/@radius |
---|---|---|
Ordinary switch a) | 0 | 300 |
Ordinary switch b) | 0 | 300 |
Ordinary switch c) | -300 | 0 |
Ordinary switch d) | -300 | 0 |
Inside curved switch a) | 300 | 400 |
Inside curved switch b) | 300 | 400 |
Outside curved switch | -300 | 300 |