 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
16 #ifndef GNEParkingSpace_h
17 #define GNEParkingSpace_h
Position myPosition
position of Parking Space in view
Position getPositionInView() const
Returns position of additional in view.
An Element which don't belongs to GNENet but has influency in the simulation.
void splitEdgeGeometry(const double splitPosition, const GNENetElement *originalElement, const GNENetElement *newElement, GNEUndoList *undoList)
split geometry
~GNEParkingSpace()
Destructor.
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(....
GNEParkingSpace(GNEViewNet *viewNet, GNEAdditional *parkingAreaParent, const Position &pos, double width, double length, double angle, bool blockMovement)
Constructor.
GNEParkingSpace & operator=(const GNEParkingSpace &)=delete
Invalidated assignment operator.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
A lane area vehicles can park at (netedit-version)
GNEParkingSpace(const GNEParkingSpace &)=delete
Invalidated copy constructor.
double myWidth
width of Parking Space
A class that stores a 2D geometrical boundary.
void updateGeometry()
update pre-computed geometry information
A point in 2D or 3D with translation and scaling methods.
double myLength
Length of Parking Space.
vehicle space used by GNEParkingAreas
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.
double myAngle
Angle of Parking Space.
std::string getAttribute(SumoXMLAttr key) const
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
std::string getParentName() const
Returns the name of the parent object (if any)
bool isAttributeEnabled(SumoXMLAttr key) const
Stores the information about how to visualize structures.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
double getAttributeDouble(SumoXMLAttr key) const
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)