46 double& position,
bool& friendlyPos,
47 const std::string& defaultBehavior);
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
double & myPosOverLane
position over lane
bool & myFriendlyPos
friendly position
bool isMoveElementValid() const
check if current moving element is valid to be written into XML
void removeGeometryPoint(const Position clickedPosition, GNEUndoList *undoList) override
remove geometry point in the clicked position
double getMovingAttributeDouble(SumoXMLAttr key) const override
get moving attribute double
std::string getMovingProblem() const
return a string with the current moving problem
SumoXMLAttr myPosAttr
pos attribute
const std::string myPositionType
default behavior
std::string getMovingAttribute(SumoXMLAttr key) const override
get moving attribute
void setMovingAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
set moving attribute (using undo-list)
GNEMoveElementLaneSingle(const GNEMoveElementLaneSingle &)=delete
Invalidated copy constructor.
bool isMovingAttributeValid(SumoXMLAttr key, const std::string &value) const override
check if the given moving attribute is valid
void writeMoveAttributes(OutputDevice &device) const
write move attributes
~GNEMoveElementLaneSingle()
void commitMoveShape(const GNEMoveResult &moveResult, GNEUndoList *undoList) override
commit move shape
void setMoveShape(const GNEMoveResult &moveResult) override
set move shape
GNEMoveOperation * getMoveOperation()
get move operation
GNEMoveElementLaneSingle & operator=(const GNEMoveElementLaneSingle &)=delete
Invalidated assignment operator.
double getFixedPositionOverLane(const bool adjustGeometryFactor) const
get fixed offset position over lane
Position getMovingAttributePosition(SumoXMLAttr key) const override
get moving attribute position
PositionVector getMovingAttributePositionVector(SumoXMLAttr key) const override
get moving attribute positionVector
void fixMovingProblem()
fix moving problem
Static storage of an output device and its base (abstract) implementation.
A point in 2D or 3D with translation and scaling methods.
static const std::string STARPOS
static const std::string ENDPOS
static const std::string SINGLE