49 GNEParkingArea(
const std::string&
id,
GNELane* lane,
GNENet* net,
const double startPos,
const double endPos,
const int parametersSet,
50 const std::string& name,
bool friendlyPosition,
int roadSideCapacity,
bool onRoad,
double width,
const std::string& length,
51 double angle,
bool blockMovement);
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
A NBNetBuilder extended by visualisation and editing capabilities.
A lane area vehicles can park at (netedit-version)
std::string getAttribute(SumoXMLAttr key) const
std::string myLength
Length of Parking Area (by default (endPos - startPos) / roadsideCapacity.
~GNEParkingArea()
Destructor.
double myAngle
Angle of Parking Area.
double myWidth
width of Parking Area
GNEParkingArea & operator=(const GNEParkingArea &)=delete
Invalidated assignment operator.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GNEParkingArea(const GNEParkingArea &)=delete
Invalidated copy constructor.
bool myOnRoad
Whether vehicles stay on the road.
GNEParkingArea(const std::string &id, GNELane *lane, GNENet *net, const double startPos, const double endPos, const int parametersSet, const std::string &name, bool friendlyPosition, int roadSideCapacity, bool onRoad, double width, const std::string &length, double angle, bool blockMovement)
Constructor.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes
void updateGeometry()
update pre-computed geometry information
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
int myRoadSideCapacity
roadside capacity of Parking Area
Stores the information about how to visualize structures.