![]() |
SUMO - Simulation of Urban MObility
|
#include <MSLinkCont.h>
Static Public Member Functions | |
static MSLink * | getConnectingLink (const MSLane &from, const MSLane &to) |
Returns the link connecting both lanes Both lanes have to be non-internal; 0 may be returned if no connection exists. More... | |
Some helping functions for dealing with links.
Definition at line 59 of file MSLinkCont.h.
Returns the link connecting both lanes Both lanes have to be non-internal; 0 may be returned if no connection exists.
Definition at line 84 of file MSLinkCont.cpp.
References MSLink::getLane(), MSLane::getLinkCont(), and MSLink::getViaLaneOrLane().
Referenced by NLDetectorBuilder::buildE2Detector(), MSEdge::changeLanes(), MSPModel_Striping::connectedDirection(), GUILane::drawGL(), GUILane::drawLinkNo(), GUILane::drawLinkRules(), GUILane::drawTLSLinkNo(), MSLane::getIncomingLinkState(), MSPModel_Striping::getNextLane(), MSPModel_Striping::initWalkingAreaPaths(), MSLink::lastWasContMajor(), and MSVehicle::nextLinkPriority().