46 const double voltage,
const double currentLimit,
const Parameterised::Map& parameters);
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
A NBNetBuilder extended by visualisation and editing capabilities.
PositionVector getAttributePositionVector(SumoXMLAttr key) const override
void updateGeometry() override
update pre-computed geometry information
void writeAdditional(OutputDevice &device) const override
write additional element into a xml file
void drawGL(const GUIVisualizationSettings &s) const override
Draws the object.
void fixAdditionalProblem() override
fix additional problem (must be reimplemented in all detector children)
Position getAttributePosition(SumoXMLAttr key) const override
std::string getHierarchyName() const override
get Hierarchy Name (Used in AC Hierarchy)
double myCurrentLimit
current limit
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList) override
split geometry
std::string getAttribute(SumoXMLAttr key) const override
GNETractionSubstation(const GNETractionSubstation &)=delete
Invalidated copy constructor.
Position getPositionInView() const override
Returns position of additional in view.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
Parameterised * getParameters() override
get parameters associated with this tractionSubstation
double getAttributeDouble(SumoXMLAttr key) const override
bool isAdditionalValid() const override
check if current additional is valid to be written into XML (must be reimplemented in all detector ch...
bool checkDrawMoveContour() const override
check if draw move contour (red)
std::string getPopUpID() const override
get PopPup ID (Used in AC Hierarchy)
std::string getParentName() const override
Returns the name of the parent object.
~GNETractionSubstation()
Destructor.
GNETractionSubstation & operator=(const GNETractionSubstation &)=delete
Invalidated assignment operator.
GNEMoveElement * getMoveElement() const override
methods to retrieve the elements linked to this tractionSubstation
std::string getAdditionalProblem() const override
return a string with the current additional problem (must be reimplemented in all detector children)
bool isValid(SumoXMLAttr key, const std::string &value) override
void updateCenteringBoundary(const bool updateGrid) override
update centering boundary (implies change in RTREE)
Stores the information about how to visualize structures.
Static storage of an output device and its base (abstract) implementation.
An upper class for objects with additional parameters.
std::map< std::string, std::string > Map
parameters map
A point in 2D or 3D with translation and scaling methods.