Class LayoutWye

  • public class LayoutWye
    extends LayoutTurnout
    A specialization of LayoutTurnout corresponding to a wye turnout on the layout.

    A LayoutTurnout has three or four connection points, designated A, B, C, and D. For right-handed or left-handed turnouts, A corresponds to the throat. At the crossing, A-B (and C-D for crossovers) is a straight segment (continuing route). A-C (and B-D for crossovers) is the diverging route. B-C (and A-D for crossovers) is an illegal condition.

        Wye           Three-way
     A ==**   

    A LayoutWye carries Block information. For wye turnouts, the entire turnout is in one block, however, a block border may occur at any connection (A,B,C,D).

    When LayoutWyes are first created, a rotation (degrees) is provided. For 0.0 rotation, the turnout lies on the east-west line with A facing east. Rotations are performed in a clockwise direction.

    When LayoutWyes are first created, there are no connections. Block information and connections may be added when available.

    When a LayoutWyes is first created, it is enabled for control of an assigned actual turnout. Clicking on the turnout center point will toggle the turnout. This can be disabled via the popup menu.

    Signal Head names are saved here to keep track of where signals are. LayoutTurnout only serves as a storage place for signal head names. The names are placed here by tools, e.g., Set Signals at Turnout, and Set Signals at Double Crossover. Each connection point can have up to three SignalHeads and one SignalMast.

    A LayoutWye may be linked to another LayoutTurnout to form a turnout pair.
    Throat-To-Throat Turnouts - Two turnouts connected closely at their throats, so closely that signals are not appropriate at the their throats. This is the situation when two RH, LH, or WYE turnouts are used to model a double slip.
    3-Way Turnout - Two turnouts modeling a 3-way turnout, where the throat of the second turnout is closely connected to the continuing track of the first turnout. The throat will have three heads, or one head. A link is required to be able to correctly interpret the use of signal heads.