SUMO - Simulation of Urban MObility
MSLinkContHelper Class Reference

#include <MSLinkCont.h>

Collaboration diagram for MSLinkContHelper:
Collaboration graph

Static Public Member Functions

static MSLinkgetConnectingLink (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 MSEdgegetInternalFollowingEdge (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 MSLanegetInternalFollowingLane (const MSLane *fromLane, const MSLane *followerAfterInternal)
 

Detailed Description

Some helping functions for dealing with links.

Definition at line 52 of file MSLinkCont.h.

Member Function Documentation

◆ getConnectingLink()

◆ getInternalFollowingEdge()

const MSEdge * MSLinkContHelper::getInternalFollowingEdge ( const MSLane fromLane,
const MSEdge followerAfterInternal 
)
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().

◆ getInternalFollowingLane()

const MSLane * MSLinkContHelper::getInternalFollowingLane ( const MSLane fromLane,
const MSLane followerAfterInternal 
)
static

The documentation for this class was generated from the following files: