44 std::vector<MSLane*> incoming, std::vector<MSLane*>
internal):
46 myIncomingLanes(incoming),
47 myInternalLanes(internal) {
56 std::vector<MSLane*>::iterator i;
60 for (MSLinkCont::const_iterator j = links.begin(); j != links.end(); j++) {
61 (*j)->setRequestInformation(-1,
false,
false, std::vector<MSLink*>(), std::vector<MSLane*>());
67 const std::vector<MSLane*>
71 std::vector<MSLane*> allInternalLanes;
74 while (l !=
nullptr) {
75 allInternalLanes.push_back(l);
76 const std::vector<MSLane::IncomingLaneInfo> incoming = l->
getIncomingLanes();
77 if (incoming.size() == 0) {
82 if (!l->isInternal()) {
87 return allInternalLanes;
const std::vector< IncomingLaneInfo > & getIncomingLanes() const
virtual const std::vector< MSLane * > getInternalLanes() const
Returns all internal lanes on the junction.
std::vector< MSLane * > myIncomingLanes
The base class for an intersection.
virtual ~MSNoLogicJunction()
Destructor.
MSNoLogicJunction(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.
std::vector< MSLane * > myInternalLanes
SumoXMLNodeType
Numbers representing special SUMO-XML-attribute values for representing node- (junction-) types used ...
Representation of a lane in the micro simulation.