53 GNEParkingArea(
const std::string&
id,
GNENet* net,
const std::string& filename,
GNELane* lane,
const double startPos,
const double endPos,
54 const std::string& departPos,
const std::string& name,
const std::vector<std::string>& badges,
const bool friendlyPosition,
55 const int roadSideCapacity,
const bool onRoad,
const double width,
const double length,
const double angle,
const bool lefthand,
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
A NBNetBuilder extended by visualisation and editing capabilities.
double myLength
Length of Parking Area (by default (endPos - startPos) / roadsideCapacity.
void writeAdditional(OutputDevice &device) const
write additional element into a xml file
~GNEParkingArea()
Destructor.
double getAttributeDouble(SumoXMLAttr key) const override
double myWidth
width of Parking Area
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GNEParkingArea(const GNEParkingArea &)=delete
Invalidated copy constructor.
std::vector< std::string > myAcceptedBadges
The list of badges that allow accessing the parkingArea.
std::string myDepartPos
departPos
GNEParkingArea & operator=(const GNEParkingArea &)=delete
Invalidated assignment operator.
bool myOnRoad
Whether vehicles stay on the road.
std::vector< GNELotSpaceDefinition > myLotSpaceDefinitions
vector with GNELotSpaceDefinition
std::string getAttribute(SumoXMLAttr key) const override
bool isValid(SumoXMLAttr key, const std::string &value) override
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
void updateGeometry() override
update pre-computed geometry information
int myRoadSideCapacity
roadside capacity of Parking Area
Stores the information about how to visualize structures.
Static storage of an output device and its base (abstract) implementation.
std::map< std::string, std::string > Map
parameters map
A point in 2D or 3D with translation and scaling methods.
Representation of a single lot space in Netedit.
const double length
The length.
const double rotation
The rotation.
GNELotSpaceDefinition()
default constructor
const Position position
The position of the vehicle when parking in this space.
const double width
The width.