Microscopic Traffic Simulator
Cell.cs
Go to the documentation of this file.
2 using System.Windows;
3 
4 namespace Microscopic_Traffic_Simulator___Model.CellularTopologyObjects
5 {
9  public class Cell
10  {
14  private Point location;
18  public Point Location { get { return location; } }
19 
23  private Vector normalizedDirectionVector;
27  public Vector NormalizedDirectionVector
28  {
29  get { return normalizedDirectionVector; } set { normalizedDirectionVector = value; }
30  }
31 
35  private Car car;
39  internal Car Car { get { return car; } set { car = value; } }
40 
44  private Cell previousCell;
48  public Cell PreviousCell { get { return previousCell; } set { previousCell = value; } }
49 
53  private Cell followingCell;
57  public Cell FollowingCell { get { return followingCell; } set { followingCell = value; } }
58 
62  private Sensor sensor;
66  internal Sensor Sensor { get { return sensor; } set { sensor = value; } }
67 
72  internal Cell(Point location)
73  {
74  this.location = location;
75  }
76  }
77 }