![]() |
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... | |
static const MSEdge * | getInternalFollowingEdge (const MSLane *fromLane, const MSEdge *followerAfterInternal) |
Returns the internal lane that must be passed in order to get to the desired edge Returns 0 if no such edge exists. More... | |
static const MSLane * | getInternalFollowingLane (const MSLane *fromLane, const MSLane *followerAfterInternal) |
Some helping functions for dealing with links.
Definition at line 52 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 71 of file MSLinkCont.cpp.
References MSLink::getLane(), MSLane::getLinkCont(), and MSLink::getViaLaneOrLane().
Referenced by MSEdge::allowsLaneChanging(), NLDetectorBuilder::buildE2Detector(), MSLaneChanger::changeOpposite(), MSLink::computeParallelLink(), MSPModel_Striping::connectedDirection(), MSLCM_LC2013::distanceAlongNextRoundabout(), GUILane::drawLinkNo(), GUILane::drawLinkRules(), GUILane::drawTLSLinkNo(), libsumo::Lane::getFoes(), MSLane::getIncomingLinkState(), MSPModel_Striping::getNextLane(), MSLCM_LC2013::getRoundaboutAheadInfo(), MSPModel_Striping::initWalkingAreaPaths(), MSLink::lastWasContMajor(), MSVehicle::nextLinkPriority(), MSVehicle::processLaneAdvances(), GUILane::setFunctionalColor(), and MSAbstractLaneChangeModel::updateShadowLane().
|
static |
Returns the internal lane that must be passed in order to get to the desired edge Returns 0 if no such edge exists.
Definition at line 33 of file MSLinkCont.cpp.
References MSLane::getEdge(), MSLink::getLane(), MSLane::getLinkCont(), and MSLink::getViaLane().
|
static |
Definition at line 52 of file MSLinkCont.cpp.
References MSLink::getLane(), MSLane::getLinkCont(), and MSLink::getViaLane().
Referenced by MSPModel_Striping::getNextLane().