37 #ifdef CHECK_MEMORY_LEAKS
39 #endif // CHECK_MEMORY_LEAKS
46 int edgeid,
const std::vector<int>& lanes,
SUMOReal position,
47 const std::vector<int>& assignedVehicles)
48 : myEdgeID(edgeid), myLanes(lanes), myPosition(position),
49 myAssignedVehicles(assignedVehicles) {}
74 const std::vector<int>&
84 for (std::vector<int>::const_iterator i =
myLanes.begin(); !hadAll && i !=
myLanes.end(); ++i) {
95 for (
int i = 0; i < (int) edge->
getNumLanes(); ++i) {
NIVissimExtendedEdgePoint(int edgeid, const std::vector< int > &lanes, SUMOReal position, const std::vector< int > &assignedVehicles)
Constructor.
Position getGeomPosition() const
static bool dictionary(int id, NIVissimAbstractEdge *e)
void recheckLanes(const NBEdge *const edge)
Resets lane numbers if all lanes shall be used.
The representation of a single edge during network building.
SUMOReal getPosition() const
A point in 2D or 3D with translation and scaling methods.
const std::vector< int > & getLanes() const
unsigned int getNumLanes() const
Returns the number of lanes.
std::vector< int > myLanes
~NIVissimExtendedEdgePoint()