Beispiel #1
0
 public RoadIntersections(
     TrafficDensity trafficDensity,
     DirectionalCellBitmap powerNsRoadEw,
     DirectionalCellBitmap railNsRoadEw,
     DirectionalCellBitmap waterNsRoadEw)
 {
     TrafficDensity = trafficDensity;
     _powerNsRoadEw = powerNsRoadEw;
     _railNsRoadEw  = railNsRoadEw;
     _waterNsRoadEw = waterNsRoadEw;
 }
 public CellBitmapNetwork(
     DirectionalCellBitmap center,
     DirectionalCellBitmap east,
     DirectionalCellBitmap eastWest,
     DirectionalCellBitmap northWest,
     DirectionalCellBitmap northWestEast,
     DirectionalCellBitmap northWestEastSouth)
 {
     Center             = center;
     East               = east;
     EastWest           = eastWest;
     NorthWest          = northWest;
     NorthWestEast      = northWestEast;
     NorthWestEastSouth = northWestEastSouth;
 }