GNECrossing(GNEJunction *parentJunction, std::vector< NBEdge *> edges)
Constructor.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
bool checkEdgeBelong(GNEEdge *edges) const
return true if a edge belongs to crossing's edges
const std::vector< NBEdge * > & getCrossingEdges() const
get crossingEdges
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
void mouseOverObject(const GUIVisualizationSettings &s) const
method for check if mouse is over objects
Stores the information about how to visualize structures.
void setGenericParametersStr(const std::string &value)
set generic parameters in string format
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
std::string getGenericParametersStr() const
return generic parameters in string format
A class that stores a 2D geometrical boundary.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
void updateGeometry(bool updateGrid)
update pre-computed geometry information
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
std::vector< double > myShapeRotations
std::vector< NBEdge * > myCrossingEdges
Crossing Edges (It works as ID because a junction can only ONE Crossing with the same edges) ...
GNEJunction * myParentJunction
the parent junction of this crossing
void drawTLSLinkNo(const GUIVisualizationSettings &s) const
draw TLS Link Number
GNECrossing & operator=(const GNECrossing &)=delete
Invalidated assignment operator.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
A road/street connecting two junctions (netedit-version)
std::vector< std::pair< std::string, std::string > > getGenericParameters() const
return generic parameters as vector of pairs format
~GNECrossing()
Destructor.
A definition of a pedestrian crossing.
PositionVector myShape
crossingShape
bool isValid(SumoXMLAttr key, const std::string &value)
NBNode::Crossing * getNBCrossing() const
get referente to NBode::Crossing
std::vector< double > myShapeLengths
The lengths of the shape parts.
std::string getAttribute(SumoXMLAttr key) const
GNEJunction * getParentJunction() const
get parent Junction