001package jmri.jmrit.display.layoutEditor; 002 003/** 004 * A LayoutSlip is a crossing of two straight tracks designed in such a way as 005 * to allow trains to change from one straight track to the other, as well as 006 * going straight across. 007 * <p> 008 * A LayoutSlip has four connection points, designated A, B, C, and D. A train 009 * may proceed between A and D, A and C, B and D and in the case of 010 * double-slips, B and C. 011 * <br> 012 * <pre> 013 * \\ // 014 * A==-==D 015 * \\ // 016 * X 017 * // \\ 018 * B==-==C 019 * // \\ 020 * </pre> 021 * <br> 022 * For drawing purposes, each LayoutSlip carries a center point and 023 * displacements for A and B. The displacements for C = - the displacement for 024 * A, and the displacement for D = - the displacement for B. The center point 025 * and these displacements may be adjusted by the user when in edit mode. 026 * <p> 027 * When LayoutSlips are first created, there are no connections. Block 028 * information and connections are added when available. 029 * <p> 030 * SignalHead names are saved here to keep track of where signals are. 031 * LayoutSlip only serves as a storage place for SignalHead names. The names are 032 * placed here by Set Signals at Level Crossing in Tools menu. 033 * 034 * @author Dave Duchamp Copyright (c) 2004-2007 035 * @author George Warner Copyright (c) 2017-2019 036 */ 037public class LayoutSingleSlip extends LayoutSlip { 038 039 /** 040 * Constructor method. 041 * @param id slip ID. 042 * @param layoutEditor main layout editor. 043 */ 044 public LayoutSingleSlip(String id, LayoutEditor layoutEditor) { 045 super(id, layoutEditor, TurnoutType.SINGLE_SLIP); 046 } 047 048 // private final static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LayoutSingleSlip.class); 049}