 |
Eclipse SUMO - Simulation of Urban MObility
|
GNEJunction * myParentJunction
the parent junction of this crossing
~GNECrossing()
Destructor.
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.
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...
std::string getGenericParametersStr() const
return generic parameters in string format
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
std::vector< NBEdge * > myCrossingEdges
Crossing Edges (It works as ID because a junction can only ONE Crossing with the same edges)
std::vector< std::pair< std::string, std::string > > getGenericParameters() const
return generic parameters as vector of pairs format
GNEJunction * getParentJunction() const
get parent Junction
void setGenericParametersStr(const std::string &value)
set generic parameters in string format
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