17 #ifndef GNEParkingArea_h 18 #define GNEParkingArea_h 52 GNEParkingArea(
const std::string&
id,
GNELane* lane,
GNEViewNet* viewNet,
const std::string& startPos,
const std::string& endPos,
const std::string& name,
bool friendlyPosition,
int roadSideCapacity,
53 bool onRoad,
double width,
const std::string& length,
double angle,
bool blockMovement);
double myAngle
Angle of Parking Area.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
~GNEParkingArea()
Destructor.
Stores the information about how to visualize structures.
std::string getAttribute(SumoXMLAttr key) const
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
A class that stores a 2D geometrical boundary.
int myRoadSideCapacity
roadside capacity of Parking Area
A lane area vehicles can park at (netedit-version)
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
std::string myLength
Lenght of Parking Area (by default (endPos - startPos) / roadsideCapacity.
void updateGeometry()
update pre-computed geometry information
GNEParkingArea & operator=(const GNEParkingArea &)=delete
Invalidated assignment operator.
double myWidth
width of Parking Area
bool myOnRoad
Whether vehicles stay on the road.
GNEParkingArea(const std::string &id, GNELane *lane, GNEViewNet *viewNet, const std::string &startPos, const std::string &endPos, const std::string &name, bool friendlyPosition, int roadSideCapacity, bool onRoad, double width, const std::string &length, double angle, bool blockMovement)
Constructor.