SUMONetwork.java

Go to the documentation of this file.
00001 package de.psi.telco.sumoplayer;
00002 
00003 import java.util.HashMap;
00004 import java.util.Map;
00005 
00006 import de.psi.telco.sumoplayer.util.Point;
00007 import de.psi.telco.sumoplayer.util.PointImpl;
00008 import de.psi.telco.sumoplayer.util.Vector;
00009 
00016 public class SUMONetwork {
00017     
00018     public Map<String, SUMOLane> lanes = new HashMap<String,SUMOLane>();
00019     public String projString = null;
00020     public Vector offset = new PointImpl(0,0);
00021     private Map<String,Point> junctions = new HashMap<String,Point>();
00022     
00023     public void addJunction(String id, double x, double y){
00024         junctions.put(id, new PointImpl(x,y));
00025     }
00026     
00027     public Point getJunction(String id){
00028         return this.junctions.get(id);
00029     }
00030     
00031 }

Generated on Wed May 5 00:06:36 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6