sumolib.net.connection | index /home/delphi/gcc/sumo/tools/sumolib/net/connection.py

`# Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
# Copyright (C) 2011-2022 German Aerospace Center (DLR) and others.
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# https://www.eclipse.org/legal/epl-2.0/
# This Source Code may also be made available under the following Secondary
# Licenses when the conditions for such availability set forth in the Eclipse
# Public License 2.0 are satisfied: GNU General Public License, version 2
# or later which is available at
# https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later`

Classes
`` |  | builtins.object Connection
class Connection(builtins.object)
`` | `Connection(fromEdge, toEdge, fromLane, toLane, direction, tls, tllink, state, viaLaneID=None)`
| Methods defined here: __init__(self, fromEdge, toEdge, fromLane, toLane, direction, tls, tllink, state, viaLaneID=None) `Initialize self. See help(type(self)) for accurate signature.` __str__(self) `Return str(self).` getDirection(self) getFrom(self) getFromLane(self) getJunction(self) getJunctionIndex(self) getParam(self, key, default=None) getParams(self) getState(self) getTLLinkIndex(self) getTLSID(self) getTo(self) getToLane(self) getViaLaneID(self) setParam(self, key, value) Data descriptors defined here: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` Data and other attributes defined here: LINKDIR_LEFT = 'l' LINKDIR_PARTLEFT = 'L' LINKDIR_PARTRIGHT = 'R' LINKDIR_RIGHT = 'r' LINKDIR_STRAIGHT = 's' LINKDIR_TURN = 't'