 |
Eclipse SUMO - Simulation of Urban MObility
|
GNEJunction * myParentJunction
the parent junction of this crossing
~GNECrossing()
Destructor.
bool isAttributeEnabled(SumoXMLAttr key) const
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
GNECrossing & operator=(const GNECrossing &)=delete
Invalidated assignment operator.
const PositionVector & getCrossingShape() const
std::string getAttribute(SumoXMLAttr key) const
void drawTLSLinkNo(const GUIVisualizationSettings &s) const
draw TLS Link Number
SumoXMLTag
Numbers representing SUMO-XML - element names.
A road/street connecting two junctions (netedit-version)
NBNode::Crossing * getNBCrossing() const
get referente to NBode::Crossing
Position getPositionInView() const
Returns position of hierarchical element in view.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
GNEGeometry::Geometry myCrossingGeometry
crossing geometry
A class that stores a 2D geometrical boundary.
A point in 2D or 3D with translation and scaling methods.
bool checkEdgeBelong(GNEEdge *edges) const
return true if a edge belongs to crossing's edges
struct for pack all variables related with geometry of stop
std::vector< NBEdge * > myCrossingEdges
Crossing Edges (It works as ID because a junction can only ONE Crossing with the same edges)
GNEJunction * getParentJunction() const
get parent Junction
bool isValid(SumoXMLAttr key, const std::string &value)
GNECrossing(GNEJunction *parentJunction, std::vector< NBEdge * > edges)
Constructor.
std::string generateChildID(SumoXMLTag childTag)
gererate a new ID for an element child
void updateGeometry()
update pre-computed geometry information
Stores the information about how to visualize structures.
A definition of a pedestrian crossing.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
const std::vector< NBEdge * > & getCrossingEdges() const
get crossingEdges