 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
16 #ifndef GNETAZSourceSink_h
17 #define GNETAZSourceSink_h
An Element which don't belongs to GNENet but has influency in the simulation.
GNETAZSourceSink(SumoXMLTag sourceSinkTag, GNEAdditional *TAZParent, GNEEdge *edge, double departWeight)
Constructor.
void splitEdgeGeometry(const double splitPosition, const GNENetElement *originalElement, const GNENetElement *newElement, GNEUndoList *undoList)
split geometry
void updateGeometry()
update pre-computed geometry information
~GNETAZSourceSink()
destructor
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(....
SumoXMLTag
Numbers representing SUMO-XML - element names.
A road/street connecting two junctions (netedit-version)
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
std::string getAttribute(SumoXMLAttr key) const
inherited from GNEAttributeCarrier
GNETAZSourceSink & operator=(const GNETAZSourceSink &)=delete
Invalidated assignment operator.
A class that stores a 2D geometrical boundary.
double getAttributeDouble(SumoXMLAttr key) const
A point in 2D or 3D with translation and scaling methods.
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
std::string getParentName() const
Returns the name of the parent object.
Position getPositionInView() const
Returns position of additional in view.
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
double getDepartWeight() const
get depart weight
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
Stores the information about how to visualize structures.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
bool isAttributeEnabled(SumoXMLAttr key) const
double myDepartWeight
depart Weight