 |
Eclipse SUMO - Simulation of Urban MObility
|
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GNEAccess & operator=(const GNEAccess &)=delete
Invalidated assignment operator.
An Element which don't belongs to GNENet but has influency in the simulation.
GNEEdge * getEdge() const
get edge in which this Access is placed
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
void updateGeometry()
update pre-computed geometry information
double getAttributeDouble(SumoXMLAttr key) const
Position getPositionInView() const
Returns position of additional in view.
std::string getParentName() const
Returns the name of the parent object (if any)
void splitEdgeGeometry(const double splitPosition, const GNENetElement *originalElement, const GNENetElement *newElement, GNEUndoList *undoList)
split geometry
A road/street connecting two junctions (netedit-version)
std::string myLength
Acces length.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
A class that stores a 2D geometrical boundary.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes
A point in 2D or 3D with translation and scaling methods.
bool myFriendlyPosition
flag to check if friendly position is enabled
A lane area vehicles can halt at (netedit-version)
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
double myPositionOverLane
position over lane
bool isAccessPositionFixed() const
check if Position of Access is fixed
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
GNEAccess(const GNEAccess &)=delete
Invalidated copy constructor.
Stores the information about how to visualize structures.
GNEAccess(GNEAdditional *busStop, GNELane *lane, GNEViewNet *viewNet, double pos, const std::string &length, bool friendlyPos, bool blockMovement)
Constructor.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
bool isAttributeEnabled(SumoXMLAttr key) const
std::string getAttribute(SumoXMLAttr key) const
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(....
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids