![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Representation of a single lot space. More...
#include <MSParkingArea.h>
Public Member Functions | |
| LotSpaceDefinition () | |
| default constructor | |
| LotSpaceDefinition (int index, SUMOVehicle *vehicle, double x, double y, double z, double rotation, double slope, double width, double length) | |
| parameter constructor | |
Data Fields | |
| double | endPos |
| The position along the lane that the vehicle needs to reach for entering this lot. | |
| const int | index |
| the running index | |
| const double | length |
| The length. | |
| double | manoeuverAngle |
| The angle between lane and lot through which a vehicle must manoeuver to enter the lot. | |
| const Position | position |
| The position of the vehicle when parking in this space. | |
| const double | rotation |
| The rotation. | |
| bool | sideIsLHS |
| Whether the lot is on the LHS of the lane relative to the lane direction. | |
| const double | slope |
| The slope. | |
| const SUMOVehicle * | vehicle |
| The last parked vehicle or 0. | |
| const double | width |
| The width. | |
Representation of a single lot space.
Definition at line 66 of file MSParkingArea.h.
| MSParkingArea::LotSpaceDefinition::LotSpaceDefinition | ( | ) |
default constructor
Definition at line 374 of file MSParkingArea.cpp.
| MSParkingArea::LotSpaceDefinition::LotSpaceDefinition | ( | int | index, |
| SUMOVehicle * | vehicle, | ||
| double | x, | ||
| double | y, | ||
| double | z, | ||
| double | rotation, | ||
| double | slope, | ||
| double | width, | ||
| double | length | ||
| ) |
parameter constructor
Definition at line 387 of file MSParkingArea.cpp.
| double MSParkingArea::LotSpaceDefinition::endPos |
The position along the lane that the vehicle needs to reach for entering this lot.
Definition at line 95 of file MSParkingArea.h.
Referenced by MSParkingArea::addLotEntry(), and MSParkingArea::getLotIndex().
| const int MSParkingArea::LotSpaceDefinition::index |
the running index
Definition at line 74 of file MSParkingArea.h.
| const double MSParkingArea::LotSpaceDefinition::length |
The length.
Definition at line 92 of file MSParkingArea.h.
| double MSParkingArea::LotSpaceDefinition::manoeuverAngle |
The angle between lane and lot through which a vehicle must manoeuver to enter the lot.
Definition at line 98 of file MSParkingArea.h.
Referenced by MSParkingArea::addLotEntry(), MSParkingArea::getLastFreeLotAngle(), and MSParkingArea::getLastFreeLotGUIAngle().
| const Position MSParkingArea::LotSpaceDefinition::position |
The position of the vehicle when parking in this space.
Definition at line 80 of file MSParkingArea.h.
Referenced by MSParkingArea::addLotEntry().
| const double MSParkingArea::LotSpaceDefinition::rotation |
The rotation.
Definition at line 83 of file MSParkingArea.h.
Referenced by MSParkingArea::addLotEntry().
| bool MSParkingArea::LotSpaceDefinition::sideIsLHS |
Whether the lot is on the LHS of the lane relative to the lane direction.
Definition at line 101 of file MSParkingArea.h.
Referenced by MSParkingArea::addLotEntry(), and MSParkingArea::getLastFreeLotAngle().
| const double MSParkingArea::LotSpaceDefinition::slope |
The slope.
Definition at line 86 of file MSParkingArea.h.
| const SUMOVehicle* MSParkingArea::LotSpaceDefinition::vehicle |
The last parked vehicle or 0.
Definition at line 77 of file MSParkingArea.h.
Referenced by MSParkingArea::getLotIndex().
| const double MSParkingArea::LotSpaceDefinition::width |
The width.
Definition at line 89 of file MSParkingArea.h.