39 const std::string& name,
40 std::vector<MSLane*> incoming,
41 std::vector<MSLane*> internal):
43 myIncomingLanes(incoming),
44 myInternalLanes(internal) {
80const std::vector<MSLane*>
84 std::vector<MSLane*> allInternalLanes;
87 while (l !=
nullptr) {
88 allInternalLanes.push_back(l);
89 const std::vector<MSLane::IncomingLaneInfo> incoming = l->
getIncomingLanes();
90 if (incoming.size() == 0) {
100 return allInternalLanes;
SumoXMLNodeType
Numbers representing special SUMO-XML-attribute values for representing node- (junction-) types used ...
The base class for an intersection.
Representation of a lane in the micro simulation.
const std::vector< IncomingLaneInfo > & getIncomingLanes() const
MSLogicJunction(const std::string &id, SumoXMLNodeType type, const Position &position, const PositionVector &shape, const std::string &name, std::vector< MSLane * > incoming, std::vector< MSLane * > internal)
Constructor.
std::vector< MSLane * > myInternalLanes
list of internal lanes
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
virtual ~MSLogicJunction()
Destructor.
A point in 2D or 3D with translation and scaling methods.