|
Methods defined here:
- __init__(self, id, fromN, toN, prio, function, name)
- __repr__(self)
- addLane(self, lane)
- addOutgoing(self, conn)
- allows(self, vClass)
- true if this edge has a lane which allows the given vehicle class
- getBoundingBox(self, includeJunctions=True)
- getClosestLanePosDist(self, point, perpendicular=False)
- getConnections(self, toEdge)
- Returns all connections to the given target edge
- getFromNode(self)
- getFunction(self)
- getID(self)
- getIncoming(self)
- getLane(self, idx)
- getLaneNumber(self)
- getLanes(self)
- getLength(self)
- getName(self)
- getOutgoing(self)
- getPriority(self)
- getRawShape(self)
- Return the shape that was used in netconvert for building this edge (2D).
- getRawShape3D(self)
- Return the shape that was used in netconvert for building this edge (3D).
- getShape(self, includeJunctions=False)
- Return the 2D shape that is the average of all lane shapes (segment-wise)
- getShape3D(self, includeJunctions=False)
- getSpeed(self)
- getTLS(self)
- getToNode(self)
- isSpecial(self)
- Check if the edge has a special function.
Returns False if edge's function is 'normal', else False, e.g. for
internal edges or connector edges
- is_fringe(self, connections=None)
- true if this edge has no incoming or no outgoing connections (except turnarounds)
If connections is given, only those connections are considered
- rebuildShape(self)
- setRawShape(self, shape)
- setTLS(self, tls)
|