41 std::vector<MSLane*> incoming
42 , std::vector<MSLane*>
internal 45 myIncomingLanes(incoming),
46 myInternalLanes(internal) {
82 const std::vector<MSLane*>
86 std::vector<MSLane*> allInternalLanes;
89 while (l !=
nullptr) {
90 allInternalLanes.push_back(l);
91 const std::vector<MSLane::IncomingLaneInfo> incoming = l->
getIncomingLanes();
92 if (incoming.size() == 0) {
97 if (!l->isInternal()) {
102 return allInternalLanes;
const std::vector< IncomingLaneInfo > & getIncomingLanes() const
The base class for an intersection.
A point in 2D or 3D with translation and scaling methods.
virtual ~MSLogicJunction()
Destructor.
const std::vector< MSLane * > getInternalLanes() const
Returns all internal lanes on the junction.
virtual void postloadInit()
initialises the junction after the whole net has been loaded
std::vector< MSLane * > myInternalLanes
list of internal lanes
SumoXMLNodeType
Numbers representing special SUMO-XML-attribute values for representing node- (junction-) types used ...
MSLogicJunction(const std::string &id, SumoXMLNodeType type, const Position &position, const PositionVector &shape, std::vector< MSLane *> incoming, std::vector< MSLane *> internal)
Constructor.
Representation of a lane in the micro simulation.