33 int edgeid,
const std::vector<int>& lanes,
double position,
34 const std::vector<int>& assignedVehicles)
35 : myEdgeID(edgeid), myLanes(lanes), myPosition(position),
36 myAssignedVehicles(assignedVehicles) {}
61const std::vector<int>&
71 for (std::vector<int>::const_iterator i =
myLanes.begin(); !hadAll && i !=
myLanes.end(); ++i) {
82 for (
int i = 0; i < (int) edge->
getNumLanes(); ++i) {
The representation of a single edge during network building.
int getNumLanes() const
Returns the number of lanes.
static bool dictionary(int id, NIVissimAbstractEdge *e)
~NIVissimExtendedEdgePoint()
void recheckLanes(const NBEdge *const edge)
Resets lane numbers if all lanes shall be used.
const std::vector< int > & getLanes() const
NIVissimExtendedEdgePoint(int edgeid, const std::vector< int > &lanes, double position, const std::vector< int > &assignedVehicles)
Constructor.
Position getGeomPosition() const
double getPosition() const
std::vector< int > myLanes
A point in 2D or 3D with translation and scaling methods.