48 std::vector<MSLane*> incoming
49 , std::vector<MSLane*>
internal 52 myIncomingLanes(incoming),
53 myInternalLanes(internal) {
89 const std::vector<MSLane*>
93 std::vector<MSLane*> allInternalLanes;
97 allInternalLanes.push_back(l);
98 const std::vector<MSLane::IncomingLaneInfo> incoming = l->
getIncomingLanes();
99 if (incoming.size() == 0) {
104 if (!l->isInternal()) {
109 return allInternalLanes;
The base class for an intersection.
MSLogicJunction(const std::string &id, SumoXMLNodeType type, const Position &position, const PositionVector &shape, std::vector< MSLane * > incoming, std::vector< MSLane * > internal)
Constructor.
A point in 2D or 3D with translation and scaling methods.
virtual ~MSLogicJunction()
Destructor.
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 ...
const std::vector< MSLane * > getInternalLanes() const
Returns all internal lanes on the junction.
const std::vector< IncomingLaneInfo > & getIncomingLanes() const
Representation of a lane in the micro simulation.