sumolib.net.edge
index
/tmp/buildd/sumo-0.19.0+dfsg/tools/sumolib/net/edge.py

@file    edge.py
@author  Daniel Krajzewicz
@author  Laura Bieker
@author  Karol Stosiek
@author  Michael Behrisch
@date    2011-11-28
@version $Id: edge.py 14954 2013-10-28 20:36:52Z behrisch $
 
This file contains a Python-representation of a single edge.
 
SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
Copyright (C) 2008-2013 DLR (http://www.dlr.de/) and contributors
 
This file is part of SUMO.
SUMO is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

 
Classes
       
Edge

 
class Edge
    Edges from a sumo network
 
  Methods defined here:
__init__(self, id, fromN, toN, prio, function, name)
__repr__(self)
addLane(self, lane)
addOutgoing(self, conn)
getBoundingBox(self, includeJunctions=True)
getFromNode(self)
getID(self)
getIncoming(self)
getLane(self, idx)
getLaneNumber(self)
getLength(self)
getName(self)
getOutgoing(self)
getShape(self, includeJunctions=False)
getSpeed(self)
getTLS(self)
getToNode(self)
is_fringe(self)
rebuildShape(self)
setShape(self, shape)
setTLS(self, tls)