47 std::vector<MSLane*> incoming
48 , std::vector<MSLane*>
internal 51 myIncomingLanes(incoming),
52 myInternalLanes(internal) {
88 const std::vector<MSLane*>
92 std::vector<MSLane*> allInternalLanes;
96 allInternalLanes.push_back(l);
97 const std::vector<MSLane::IncomingLaneInfo> incoming = l->
getIncomingLanes();
98 if (incoming.size() == 0) {
103 if (!l->isInternal()) {
108 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.