Eclipse SUMO - Simulation of Urban MObility
MSParkingArea::LotSpaceDefinition Struct Reference

Representation of a single lot space. More...

#include <MSParkingArea.h>

Collaboration diagram for MSParkingArea::LotSpaceDefinition:
[legend]

Public Member Functions

 LotSpaceDefinition ()
 default constructor More...
 
 LotSpaceDefinition (int index, SUMOVehicle *vehicle, double x, double y, double z, double rotation, double slope, double width, double length)
 parameter constructor More...
 

Data Fields

double endPos
 The position along the lane that the vehicle needs to reach for entering this lot. More...
 
const int index
 the running index More...
 
const double length
 The length. More...
 
double manoeuverAngle
 The angle between lane and lot through which a vehicle must manoeuver to enter the lot. More...
 
const Position position
 The position of the vehicle when parking in this space. More...
 
const double rotation
 The rotation. More...
 
bool sideIsLHS
 Whether the lot is on the LHS of the lane relative to the lane direction. More...
 
const double slope
 The slope. More...
 
const SUMOVehiclevehicle
 The last parked vehicle or 0. More...
 
const double width
 The width. More...
 

Detailed Description

Representation of a single lot space.

Definition at line 234 of file MSParkingArea.h.

Constructor & Destructor Documentation

◆ LotSpaceDefinition() [1/2]

MSParkingArea::LotSpaceDefinition::LotSpaceDefinition ( )

default constructor

Definition at line 376 of file MSParkingArea.cpp.

◆ LotSpaceDefinition() [2/2]

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 389 of file MSParkingArea.cpp.

Field Documentation

◆ endPos

double MSParkingArea::LotSpaceDefinition::endPos

The position along the lane that the vehicle needs to reach for entering this lot.

Definition at line 263 of file MSParkingArea.h.

Referenced by MSParkingArea::addLotEntry(), and MSParkingArea::getLotIndex().

◆ index

const int MSParkingArea::LotSpaceDefinition::index

the running index

Definition at line 242 of file MSParkingArea.h.

◆ length

const double MSParkingArea::LotSpaceDefinition::length

The length.

Definition at line 260 of file MSParkingArea.h.

◆ manoeuverAngle

double MSParkingArea::LotSpaceDefinition::manoeuverAngle

The angle between lane and lot through which a vehicle must manoeuver to enter the lot.

Definition at line 266 of file MSParkingArea.h.

Referenced by MSParkingArea::addLotEntry(), MSParkingArea::getLastFreeLotAngle(), and MSParkingArea::getLastFreeLotGUIAngle().

◆ position

const Position MSParkingArea::LotSpaceDefinition::position

The position of the vehicle when parking in this space.

Definition at line 248 of file MSParkingArea.h.

Referenced by MSParkingArea::addLotEntry().

◆ rotation

const double MSParkingArea::LotSpaceDefinition::rotation

The rotation.

Definition at line 251 of file MSParkingArea.h.

Referenced by MSParkingArea::addLotEntry().

◆ sideIsLHS

bool MSParkingArea::LotSpaceDefinition::sideIsLHS

Whether the lot is on the LHS of the lane relative to the lane direction.

Definition at line 269 of file MSParkingArea.h.

Referenced by MSParkingArea::addLotEntry(), and MSParkingArea::getLastFreeLotAngle().

◆ slope

const double MSParkingArea::LotSpaceDefinition::slope

The slope.

Definition at line 254 of file MSParkingArea.h.

◆ vehicle

const SUMOVehicle* MSParkingArea::LotSpaceDefinition::vehicle

The last parked vehicle or 0.

Definition at line 245 of file MSParkingArea.h.

Referenced by MSParkingArea::getLotIndex().

◆ width

const double MSParkingArea::LotSpaceDefinition::width

The width.

Definition at line 257 of file MSParkingArea.h.


The documentation for this struct was generated from the following files: