public ShiftNetwork(ArbiterRoadNetwork roads, RoadDisplay roadDisplay) { InitializeComponent(); this.roads = roads; this.display = roadDisplay; }
public IntersectionToolbox(ArbiterRoadNetwork arn, RoadDisplay rd, Editor ed) { this.arn = arn; this.rd = rd; this.ed = ed; InitializeComponent(); }
public SparsePartitionToolbox(Editor editor, RoadDisplay display) { InitializeComponent(); this.Mode = SparseToolboxMode.None; this.Editor = editor; this.Display = display; }
/// <summary> /// Constructor /// </summary> /// <param name="arn"></param> /// <param name="rd"></param> /// <param name="ed"></param> public ZoneTool(ArbiterRoadNetwork arn, RoadDisplay rd, Editor ed) { // set helpers we can access this.arn = arn; this.rd = rd; this.ed = ed; // helpers to wrap intersections for polygons this.WrappingHelpers = new List<Coordinates>(); // create toolbox zt = new ZoneToolbox(this); zt.Show(); }
/// <summary> /// Constructor /// </summary> /// <param name="arn"></param> /// <param name="rd"></param> /// <param name="ed"></param> public IntersectionPulloutTool(ArbiterRoadNetwork arn, RoadDisplay rd, Editor ed, bool show) { // set helpers we can access this.arn = arn; this.rd = rd; this.ed = ed; // helpers to wrap intersections for polygons this.WrappingHelpers = new List<Coordinates>(); // create toolbox if (show) { it = new IntersectionToolbox(arn, rd, ed); it.Show(); } }