56 const double startPos,
const double endPos,
const bool friendlyPos,
57 const std::vector<std::string>& forbiddenInnerLanes,
const Parameterised::Map& parameters);
const std::string invalid_return< std::string >::value
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
GNEAdditional(const std::string &id, GNENet *net, const std::string &filename, SumoXMLTag tag, const std::string &additionalName)
Constructor.
A NBNetBuilder extended by visualisation and editing capabilities.
void fixAdditionalProblem() override
fix additional problem
std::string getAdditionalProblem() const override
return a string with the current additional problem
Position getAttributePosition(SumoXMLAttr key) const override
void updateGeometry() override
update pre-computed geometry information
void computePathElement() override
compute pathElement
~GNEOverheadWire()
Destructor.
GNEMoveElement * getMoveElement() const override
methods to retrieve the elements linked to this overheadWire
PositionVector getAttributePositionVector(SumoXMLAttr key) const override
GNEMoveElementLaneDouble * myMoveElementLaneDouble
@brif move element lane double
void updateCenteringBoundary(const bool updateGrid) override
update centering boundary (implies change in RTREE)
Parameterised * getParameters() override
get parameters associated with this overheadWire
void drawJunctionPartialGL(const GUIVisualizationSettings &s, const GNESegment *segment, const double offsetFront) const override
Draws partial object over junction.
Position getPositionInView() const override
Returns position of additional in view.
double getAttributeDouble(SumoXMLAttr key) const override
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
void writeAdditional(OutputDevice &device) const override
write additional element into a xml file
GNEOverheadWire & operator=(const GNEOverheadWire &)=delete
Invalidated assignment operator.
bool checkDrawMoveContour() const override
check if draw move contour (red)
double myEndPosPosOverLane
The end position over lane.
void drawGL(const GUIVisualizationSettings &s) const override
Draws the object.
bool isValid(SumoXMLAttr key, const std::string &value) override
bool isAdditionalValid() const override
check if current additional is valid to be written into XML
GNEOverheadWire(GNENet *net)
default Constructor
void drawLanePartialGL(const GUIVisualizationSettings &s, const GNESegment *segment, const double offsetFront) const override
Draws partial object over lane.
std::string getAttribute(SumoXMLAttr key) const override
std::string getPopUpID() const override
get PopPup ID (Used in AC Hierarchy)
std::string getHierarchyName() const override
get Hierarchy Name (Used in AC Hierarchy)
GNEOverheadWire(const GNEOverheadWire &)=delete
Invalidated copy constructor.
double myStartPosOverLane
The start position over lane.
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList) override
split geometry
bool myFriendlyPosition
Flag for friendly position.
std::vector< std::string > myForbiddenInnerLanes
forbidden inner lanes
Stores the information about how to visualize structures.
Static storage of an output device and its base (abstract) implementation.
std::map< std::string, std::string > Map
parameters map
Parameterised()
Default constructor.
A point in 2D or 3D with translation and scaling methods.