43 const std::string& name,
44 std::vector<MSLane*> incoming, std::vector<MSLane*> internal):
46 myIncomingLanes(incoming),
47 myInternalLanes(internal) {
58 for (
MSLink*
const link : l->getLinkCont()) {
59 link->setRequestInformation(-1,
false,
false, std::vector<MSLink*>(), std::vector<MSLane*>());
65const std::vector<MSLane*>
69 std::vector<MSLane*> allInternalLanes;
72 while (l !=
nullptr) {
73 allInternalLanes.push_back(l);
74 const std::vector<MSLane::IncomingLaneInfo> incoming = l->
getIncomingLanes();
75 if (incoming.size() == 0) {
85 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
virtual const std::vector< MSLane * > getInternalLanes() const
Returns all internal lanes on the junction.
std::vector< MSLane * > myIncomingLanes
std::vector< MSLane * > myInternalLanes
MSNoLogicJunction(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.
virtual ~MSNoLogicJunction()
Destructor.
A point in 2D or 3D with translation and scaling methods.