17 #ifndef GNEParkingSpace_h 18 #define GNEParkingSpace_h void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
std::string getAttribute(SumoXMLAttr key) const
vehicle space used by GNEParkingAreas
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
GNEParkingSpace(GNEViewNet *viewNet, GNEAdditional *parkingAreaParent, const Position &pos, double width, double length, double angle, bool blockMovement)
Constructor.
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(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void updateGeometry(bool updateGrid)
update pre-computed geometry information
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)
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.
std::string getParentName() const
Returns the name of the parent object (if any)
~GNEParkingSpace()
Destructor.
Position myPosition
position of Parking Space in view