ns2::Lane Class Reference


Detailed Description

model for lanes
Author:
Thimor Bohn <bohn@itm.uni-luebeck.de>

Definition at line 8 of file Lane.java.


Public Member Functions

 Lane (String id, float xfrom, float xto, float yfrom, float yto, float length)

Data Fields

String id
float length
float xfrom
float xto
float yfrom
float yto

Constructor & Destructor Documentation

ns2::Lane::Lane ( String  id,
float  xfrom,
float  xto,
float  yfrom,
float  yto,
float  length 
) [inline]

constructor

Parameters:
id unique (in edge) id of lane
xfrom x-coordinate at which vehicles start on the edge
xto y-coordinate at which vehicles start on the edge
yfrom x-coordinate at which vehicles leave the edge
yto y-coordinate at which vehicles leave the edge
length length of lane

Definition at line 25 of file Lane.java.

00025                                                                                          {
00026         this.id       = id;
00027         this.xfrom    = xfrom;
00028         this.xto      = xto;
00029         this.yfrom    = yfrom;
00030         this.yto      = yto;
00031         this.length   = length;
00032     }


Field Documentation

String ns2::Lane::id

Definition at line 9 of file Lane.java.

Definition at line 14 of file Lane.java.

Referenced by ns2::MobilityWriter::write().

Definition at line 10 of file Lane.java.

Referenced by ns2::MobilityWriter::write().

Definition at line 11 of file Lane.java.

Referenced by ns2::MobilityWriter::write().

Definition at line 12 of file Lane.java.

Referenced by ns2::MobilityWriter::write().

Definition at line 13 of file Lane.java.

Referenced by ns2::MobilityWriter::write().


The documentation for this class was generated from the following file:

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