17 #ifndef GNEParkingSpace_h 18 #define GNEParkingSpace_h std::string getAttribute(SumoXMLAttr key) const
vehicle space used by GNEParkingAreas
double myY
y position of Parking Space
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
Stores the information about how to visualize structures.
double myLength
Lenght of Parking Space.
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
void commitGeometryMoving(const Position &oldPos, GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
void moveGeometry(const Position &oldPos, const Position &offset)
change the position of the element geometry without saving in undoList
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void updateGeometry(bool updateGrid)
update pre-computed geometry information
double myX
x position of Parking Space
GNEParkingSpace & operator=(const GNEParkingSpace &)=delete
Invalidated assignment operator.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...
A lane area vehicles can park at (netedit-version)
A point in 2D or 3D with translation and scaling methods.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
GNEParkingSpace(GNEViewNet *viewNet, GNEAdditional *parkingAreaParent, double x, double y, double z, double width, double length, double angle, bool blockMovement)
Constructor.
double myWidth
width of Parking Space
Position getPositionInView() const
Returns position of additional in view.
double myAngle
Angle of Parking Space.
An Element which don't belongs to GNENet but has influency in the simulation.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
double myZ
z position of Parking Space
std::string getParentName() const
Returns the name of the parent object (if any)
~GNEParkingSpace()
Destructor.