Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEMoveElementLaneDouble Class Reference

#include <GNEMoveElementLaneDouble.h>

Inheritance diagram for GNEMoveElementLaneDouble:
[legend]
Collaboration diagram for GNEMoveElementLaneDouble:
[legend]

Public Member Functions

void fixMovingProblem ()
 fix moving problem
double getEndFixedPositionOverLane (const bool adjustGeometryFactor) const
 get end offset position over lane
GNEMoveOperationgetMoveOperation () override
 get lane movable move operation for elements with
std::string getMovingProblem () const
 return a string with the current moving problem
double getStartFixedPositionOverLane (const bool adjustGeometryFactor) const
 get start offset position over lane
 GNEMoveElementLaneDouble (GNEAttributeCarrier *element, SumoXMLAttr startPosAttr, double &startPosValue, SumoXMLAttr endPosAttr, double &endPosValue, bool &friendlyPosition)
 Constructor.
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
void writeMoveAttributes (OutputDevice &device, const bool writeLength) const
 write move attributes
 ~GNEMoveElementLaneDouble ()
 Destructor.
functions related with moving attributes
std::string getMovingAttribute (SumoXMLAttr key) const override
 get moving attribute
double getMovingAttributeDouble (SumoXMLAttr key) const override
 get moving attribute double
Position getMovingAttributePosition (SumoXMLAttr key) const override
 get moving attribute position
PositionVector getMovingAttributePositionVector (SumoXMLAttr key) const override
 get moving attribute positionVector
void setMovingAttribute (SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
 set moving attribute (using undo-list)
bool isMovingAttributeValid (SumoXMLAttr key, const std::string &value) const override
 check if the given moving attribute is valid
void setMovingAttribute (SumoXMLAttr key, const std::string &value) override
 set moving attribute

Static Public Member Functions

static void commitMove (const GNEViewNet *viewNet, GNEMoveOperation *moveOperation, const GNEMoveOffset &offset, GNEUndoList *undoList)
 commit move element for the given offset
static void moveElement (const GNEViewNet *viewNet, GNEMoveOperation *moveOperation, const GNEMoveOffset &offset)
 move element the for given offset (note: offset can be X-Y-0, 0-0-Z or X-Y-Z)

Data Fields

double myMovingLateralOffset = 0
 move element lateral offset

Static Public Attributes

static const double defaultSize = 10
 default element size

Protected Member Functions

GNEMoveOperationgetEditShapeOperation (const GUIGlObject *obj, const PositionVector originalShape, const bool maintainShapeClosed)
 calculate move shape operation

Protected Attributes

GNEAttributeCarriermyMovedElement = nullptr
 pointer to element

Private Member Functions

void commitMoveShape (const GNEMoveResult &moveResult, GNEUndoList *undoList) override
 commit move shape
 GNEMoveElementLaneDouble (const GNEMoveElementLaneDouble &)=delete
 Invalidated copy constructor.
GNEMoveElementLaneDoubleoperator= (const GNEMoveElementLaneDouble &src)=delete
 Invalidated assignment operator.
void setMoveShape (const GNEMoveResult &moveResult) override
 set move shape
void setSize (const std::string &value, GNEUndoList *undoList)
 set size

Static Private Member Functions

static PositionVector calculateExtrapolatedVector (const GNEMoveOperation *moveOperation, const GNEMoveResult &moveResult)
 calculate width/height shape
static double calculateLaneOffset (const GNEViewNet *viewNet, const GNELane *lane, const double firstPosition, const double lastPosition, const GNEMoveOffset &offset)
 calculate lane offset (used in calculateLanePosition)
static void calculateLanePosition (double &starPos, const GNEViewNet *viewNet, const GNELane *lane, const double posOverLane, const GNEMoveOffset &offset)
 calculate lane position over one lane with only one position (accesss, E1, star/end positions, etc.)
static void calculateLanePositions (double &starPos, double &endPos, const GNEViewNet *viewNet, const GNELane *firstLane, const double firstPosOverLane, const GNELane *lastLane, const double lastPosOverLane, const bool firstLaneClicked, const GNEMoveOffset &offset)
 calculate lane position over two lane with two positions (E2 Multilanes)
static void calculateLanePositions (double &starPos, double &endPos, const GNEViewNet *viewNet, const GNELane *lane, const double firstPosOverLane, const double lastPosOverLane, const GNEMoveOffset &offset)
 calculate lane position over one lane with two positions (stoppingPlaces, E2 single lanes)
static void calculateNewLaneChange (const GNEViewNet *viewNet, const GNELane *originalLane, const GNELane *&newLane, double &laneOffset)
 calculate new lane change

Private Attributes

GNEMoveElementLaneSinglemyEndPos
 end position
ReferencePosition myReferencePosition = ReferencePosition::CENTER
 reference position
GNEMoveElementLaneSinglemyStartPos
 start position
bool myTemplateForceSize = false
 force size (only used in AttributeCarrier templates
double myTemplateSize = defaultSize
 size (only use in AttributeCarrier templates)

Detailed Description

Definition at line 37 of file GNEMoveElementLaneDouble.h.

Constructor & Destructor Documentation

◆ GNEMoveElementLaneDouble() [1/2]

GNEMoveElementLaneDouble::GNEMoveElementLaneDouble ( GNEAttributeCarrier * element,
SumoXMLAttr startPosAttr,
double & startPosValue,
SumoXMLAttr endPosAttr,
double & endPosValue,
bool & friendlyPosition )

Constructor.

Parameters
[in]elementmoved element
[in]startPosAttrStart position attribute
[in]startPosValueStart position value
[in]endPosAttrEnd position attribute
[in]endPosValueEnd position value
[in]friendlyPosenable or disable friendly position

Definition at line 45 of file GNEMoveElementLaneDouble.cpp.

References GNEMoveElement::GNEMoveElement(), myEndPos, and myStartPos.

Referenced by GNEMoveElementLaneDouble(), and operator=().

Here is the caller graph for this function:

◆ ~GNEMoveElementLaneDouble()

GNEMoveElementLaneDouble::~GNEMoveElementLaneDouble ( )

Destructor.

Definition at line 56 of file GNEMoveElementLaneDouble.cpp.

References myEndPos, and myStartPos.

◆ GNEMoveElementLaneDouble() [2/2]

GNEMoveElementLaneDouble::GNEMoveElementLaneDouble ( const GNEMoveElementLaneDouble & )
privatedelete

Invalidated copy constructor.

References GNEMoveElementLaneDouble().

Member Function Documentation

◆ calculateExtrapolatedVector()

PositionVector GNEMoveElement::calculateExtrapolatedVector ( const GNEMoveOperation * moveOperation,
const GNEMoveResult & moveResult )
staticprivateinherited

calculate width/height shape

Definition at line 420 of file GNEMoveElement.cpp.

References PositionVector::extrapolate2D(), GNEMoveOperation::firstGeometryPoint, PositionVector::length2D(), PositionVector::nearest_offset_to_point2D(), GNEMoveOperation::originalShape, PositionVector::reverse(), GNEMoveOperation::shapeToMove, and GNEMoveResult::shapeToUpdate.

Referenced by commitMove(), and moveElement().

Here is the caller graph for this function:

◆ calculateLaneOffset()

double GNEMoveElement::calculateLaneOffset ( const GNEViewNet * viewNet,
const GNELane * lane,
const double firstPosition,
const double lastPosition,
const GNEMoveOffset & offset )
staticprivateinherited

calculate lane offset (used in calculateLanePosition)

Definition at line 280 of file GNEMoveElement.cpp.

References Position::add(), GNELane::getLaneShape(), PositionVector::length2D(), PositionVector::nearest_offset_to_point2D(), PositionVector::positionAtOffset2D(), GUISUMOAbstractView::snapToActiveGrid(), GNEMoveOffset::x, GNEMoveOffset::y, and GNEMoveOffset::z.

Referenced by calculateLanePosition(), and calculateLanePositions().

Here is the caller graph for this function:

◆ calculateLanePosition()

void GNEMoveElement::calculateLanePosition ( double & starPos,
const GNEViewNet * viewNet,
const GNELane * lane,
const double posOverLane,
const GNEMoveOffset & offset )
staticprivateinherited

calculate lane position over one lane with only one position (accesss, E1, star/end positions, etc.)

Definition at line 323 of file GNEMoveElement.cpp.

References calculateLaneOffset(), and GNELane::getLengthGeometryFactor().

Referenced by calculateLanePositions(), commitMove(), and moveElement().

Here is the caller graph for this function:

◆ calculateLanePositions() [1/2]

void GNEMoveElement::calculateLanePositions ( double & starPos,
double & endPos,
const GNEViewNet * viewNet,
const GNELane * firstLane,
const double firstPosOverLane,
const GNELane * lastLane,
const double lastPosOverLane,
const bool firstLaneClicked,
const GNEMoveOffset & offset )
staticprivateinherited

calculate lane position over two lane with two positions (E2 Multilanes)

Definition at line 344 of file GNEMoveElement.cpp.

References calculateLanePosition(), GNELane::getLaneShape(), and PositionVector::length2D().

◆ calculateLanePositions() [2/2]

void GNEMoveElement::calculateLanePositions ( double & starPos,
double & endPos,
const GNEViewNet * viewNet,
const GNELane * lane,
const double firstPosOverLane,
const double lastPosOverLane,
const GNEMoveOffset & offset )
staticprivateinherited

calculate lane position over one lane with two positions (stoppingPlaces, E2 single lanes)

Definition at line 333 of file GNEMoveElement.cpp.

References calculateLaneOffset(), and GNELane::getLengthGeometryFactor().

Referenced by commitMove(), and moveElement().

Here is the caller graph for this function:

◆ calculateNewLaneChange()

void GNEMoveElement::calculateNewLaneChange ( const GNEViewNet * viewNet,
const GNELane * originalLane,
const GNELane *& newLane,
double & laneOffset )
staticprivateinherited

calculate new lane change

Definition at line 388 of file GNEMoveElement.cpp.

References Position::distanceSquaredTo2D(), Position::distanceTo2D(), GNEHierarchicalElement::getChildLanes(), GNELane::getIndex(), GNELane::getLaneShape(), GNELane::getParentEdge(), GUISUMOAbstractView::getPositionInformation(), PositionVector::nearest_offset_to_point2D(), and PositionVector::positionAtOffset2D().

Referenced by commitMove(), and moveElement().

Here is the caller graph for this function:

◆ commitMove()

void GNEMoveElement::commitMove ( const GNEViewNet * viewNet,
GNEMoveOperation * moveOperation,
const GNEMoveOffset & offset,
GNEUndoList * undoList )
staticinherited

commit move element for the given offset

Definition at line 181 of file GNEMoveElement.cpp.

References PositionVector::add(), GNEMoveOperation::allowChangeLane, calculateExtrapolatedVector(), calculateLanePosition(), calculateLanePositions(), calculateNewLaneChange(), GNEMoveOperation::clickedFirstLane, commitMoveShape(), GNEMoveOperation::firstLane, GNEMoveResult::firstLaneOffset, GNEMoveOperation::firstPosition, GNEMoveOperation::geometryPointsToMove, GNEMoveResult::geometryPointsToMove, GNEMoveFrame::getCommonMoveOptions(), GNEMoveFrame::CommonMoveOptions::getMergeGeometryPoints(), GNEViewParent::getMoveFrame(), GNEViewNet::getViewParent(), GNEMoveOperation::HEIGHT, Position::INVALID, INVALID_DOUBLE, GNEMoveOperation::lastLane, GNEMoveOperation::lastPosition, GNEMoveOperation::LENGTH, GNEMoveOperation::moveElement, GNEMoveResult::newFirstLane, GNEMoveResult::newFirstPos, GNEMoveResult::newLastLane, GNEMoveResult::newLastPos, GNEMoveOperation::operationType, GNEMoveOperation::originalGeometryPoints, GNEMoveOperation::originalShape, PositionVector::removeDoublePoints(), setMoveShape(), GNEMoveOperation::shapeToMove, GNEMoveResult::shapeToUpdate, GUISUMOAbstractView::snapToActiveGrid(), GNEMoveOperation::WIDTH, GNEMoveOffset::x, GNEMoveOffset::y, and GNEMoveOffset::z.

Referenced by GNEViewNetHelper::MoveMultipleElementModul::finishMoveSelection(), GNEViewNetHelper::MoveSingleElementModul::finishMoveSingleElement(), GNEViewNetHelper::MoveMultipleElementModul::moveSelection(), and GNEViewNetHelper::MoveSingleElementModul::moveSingleElement().

Here is the caller graph for this function:

◆ commitMoveShape()

void GNEMoveElementLaneDouble::commitMoveShape ( const GNEMoveResult & moveResult,
GNEUndoList * undoList )
overrideprivatevirtual

◆ fixMovingProblem()

void GNEMoveElementLaneDouble::fixMovingProblem ( )

fix moving problem

Definition at line 343 of file GNEMoveElementLaneDouble.cpp.

References INVALID_DOUBLE, myEndPos, GNEMoveElement::myMovedElement, myStartPos, and toString().

◆ getEditShapeOperation()

GNEMoveOperation * GNEMoveElement::getEditShapeOperation ( const GUIGlObject * obj,
const PositionVector originalShape,
const bool maintainShapeClosed )
protectedinherited

calculate move shape operation

Definition at line 71 of file GNEMoveElement.cpp.

References gViewObjectsHandler, PositionVector::indexOfClosest(), PositionVector::insertAtClosest(), and Position::INVALID.

Referenced by GNEMoveElementConnection::getMoveOperation(), GNEMoveElementCrossing::getMoveOperation(), GNEMoveElementEdge::getMoveOperation(), GNEMoveElementJunction::getMoveOperation(), GNEMoveElementLane::getMoveOperation(), and GNEMoveElementShape::getMoveOperation().

Here is the caller graph for this function:

◆ getEndFixedPositionOverLane()

double GNEMoveElementLaneDouble::getEndFixedPositionOverLane ( const bool adjustGeometryFactor) const

get end offset position over lane

Definition at line 423 of file GNEMoveElementLaneDouble.cpp.

References myEndPos, and myStartPos.

Referenced by getMovingAttributeDouble(), and setSize().

Here is the caller graph for this function:

◆ getMoveOperation()

GNEMoveOperation * GNEMoveElementLaneDouble::getMoveOperation ( )
overridevirtual

get lane movable move operation for elements with

Note
returned GNEMoveOperation can be nullptr

Implements GNEMoveElement.

Definition at line 63 of file GNEMoveElementLaneDouble.cpp.

References gViewObjectsHandler, INVALID_DOUBLE, myEndPos, GNEMoveElement::myMovedElement, and myStartPos.

◆ getMovingAttribute()

◆ getMovingAttributeDouble()

double GNEMoveElementLaneDouble::getMovingAttributeDouble ( SumoXMLAttr key) const
overridevirtual

get moving attribute double

Implements GNEMoveElement.

Definition at line 146 of file GNEMoveElementLaneDouble.cpp.

References getEndFixedPositionOverLane(), getStartFixedPositionOverLane(), GNE_ATTR_SIZE, myEndPos, GNEMoveElement::myMovedElement, myStartPos, myTemplateSize, SUMO_ATTR_CENTER, SUMO_ATTR_LENGTH, and toString().

Referenced by getMovingAttribute().

Here is the caller graph for this function:

◆ getMovingAttributePosition()

Position GNEMoveElementLaneDouble::getMovingAttributePosition ( SumoXMLAttr key) const
overridevirtual

get moving attribute position

Implements GNEMoveElement.

Definition at line 172 of file GNEMoveElementLaneDouble.cpp.

References GNEMoveElement::myMovedElement.

◆ getMovingAttributePositionVector()

PositionVector GNEMoveElementLaneDouble::getMovingAttributePositionVector ( SumoXMLAttr key) const
overridevirtual

get moving attribute positionVector

Implements GNEMoveElement.

Definition at line 178 of file GNEMoveElementLaneDouble.cpp.

References GNEMoveElement::myMovedElement.

◆ getMovingProblem()

std::string GNEMoveElementLaneDouble::getMovingProblem ( ) const

return a string with the current moving problem

Definition at line 323 of file GNEMoveElementLaneDouble.cpp.

References GNEAdditional::areLaneConnected(), GNEAdditional::areLaneConsecutives(), myEndPos, GNEMoveElement::myMovedElement, myStartPos, and TL.

◆ getStartFixedPositionOverLane()

double GNEMoveElementLaneDouble::getStartFixedPositionOverLane ( const bool adjustGeometryFactor) const

get start offset position over lane

Definition at line 411 of file GNEMoveElementLaneDouble.cpp.

References myEndPos, and myStartPos.

Referenced by getMovingAttributeDouble(), setMovingAttribute(), and setSize().

Here is the caller graph for this function:

◆ isMoveElementValid()

bool GNEMoveElementLaneDouble::isMoveElementValid ( ) const

check if current moving element is valid to be written into XML

Definition at line 305 of file GNEMoveElementLaneDouble.cpp.

References GNEAdditional::areLaneConnected(), GNEAdditional::areLaneConsecutives(), myEndPos, GNEMoveElement::myMovedElement, and myStartPos.

◆ isMovingAttributeValid()

◆ moveElement()

◆ operator=()

GNEMoveElementLaneDouble & GNEMoveElementLaneDouble::operator= ( const GNEMoveElementLaneDouble & src)
privatedelete

Invalidated assignment operator.

References GNEMoveElementLaneDouble().

◆ removeGeometryPoint()

void GNEMoveElementLaneDouble::removeGeometryPoint ( const Position clickedPosition,
GNEUndoList * undoList )
overridevirtual

remove geometry point in the clicked position

Implements GNEMoveElement.

Definition at line 299 of file GNEMoveElementLaneDouble.cpp.

◆ setMoveShape()

void GNEMoveElementLaneDouble::setMoveShape ( const GNEMoveResult & moveResult)
overrideprivatevirtual

◆ setMovingAttribute() [1/2]

◆ setMovingAttribute() [2/2]

◆ setSize()

void GNEMoveElementLaneDouble::setSize ( const std::string & value,
GNEUndoList * undoList )
private

set size

Definition at line 476 of file GNEMoveElementLaneDouble.cpp.

References GNEUndoList::begin(), GNEChange_Attribute::changeAttribute(), GNEUndoList::end(), getEndFixedPositionOverLane(), getStartFixedPositionOverLane(), INVALID_DOUBLE, invalid_return< std::string >::value, myEndPos, GNEMoveElement::myMovedElement, myStartPos, GNEAttributeCarrier::parse(), TLF, and toString().

Referenced by setMovingAttribute().

Here is the caller graph for this function:

◆ writeMoveAttributes()

void GNEMoveElementLaneDouble::writeMoveAttributes ( OutputDevice & device,
const bool writeLength ) const

Field Documentation

◆ defaultSize

const double GNEMoveElementLaneDouble::defaultSize = 10
static

◆ myEndPos

◆ myMovedElement

GNEAttributeCarrier* GNEMoveElement::myMovedElement = nullptr
protectedinherited

pointer to element

Definition at line 96 of file GNEMoveElement.h.

Referenced by GNEMoveElementLaneDouble::commitMoveShape(), GNEMoveElementLaneSingle::commitMoveShape(), GNEMoveElementShape::commitMoveShape(), GNEMoveElementView::commitMoveShape(), GNEMoveElementViewResizable::commitMoveShape(), GNEMoveElementLaneDouble::fixMovingProblem(), GNEMoveElementLaneSingle::fixMovingProblem(), GNEMoveElementLaneSingle::getFixedPositionOverLane(), GNEMoveElementLaneDouble::getMoveOperation(), GNEMoveElementLaneSingle::getMoveOperation(), GNEMoveElementShape::getMoveOperation(), GNEMoveElementViewResizable::getMoveOperation(), getMovingAttribute(), GNEMoveElementConnection::getMovingAttribute(), GNEMoveElementCrossing::getMovingAttribute(), GNEMoveElementEdge::getMovingAttribute(), GNEMoveElementJunction::getMovingAttribute(), GNEMoveElementLane::getMovingAttribute(), GNEMoveElementLaneDouble::getMovingAttribute(), GNEMoveElementLaneSingle::getMovingAttribute(), GNEMoveElementPlan::getMovingAttribute(), GNEMoveElementPlanParent::getMovingAttribute(), GNEMoveElementShape::getMovingAttribute(), GNEMoveElementVehicle::getMovingAttribute(), GNEMoveElementView::getMovingAttribute(), getMovingAttributeDouble(), GNEMoveElementConnection::getMovingAttributeDouble(), GNEMoveElementCrossing::getMovingAttributeDouble(), GNEMoveElementEdge::getMovingAttributeDouble(), GNEMoveElementJunction::getMovingAttributeDouble(), GNEMoveElementLane::getMovingAttributeDouble(), GNEMoveElementLaneDouble::getMovingAttributeDouble(), GNEMoveElementLaneSingle::getMovingAttributeDouble(), GNEMoveElementPlan::getMovingAttributeDouble(), GNEMoveElementPlanParent::getMovingAttributeDouble(), GNEMoveElementShape::getMovingAttributeDouble(), GNEMoveElementVehicle::getMovingAttributeDouble(), GNEMoveElementView::getMovingAttributeDouble(), GNEMoveElementConnection::getMovingAttributePosition(), GNEMoveElementCrossing::getMovingAttributePosition(), GNEMoveElementEdge::getMovingAttributePosition(), GNEMoveElementJunction::getMovingAttributePosition(), GNEMoveElementLane::getMovingAttributePosition(), GNEMoveElementLaneDouble::getMovingAttributePosition(), GNEMoveElementLaneSingle::getMovingAttributePosition(), GNEMoveElementPlan::getMovingAttributePosition(), GNEMoveElementPlanParent::getMovingAttributePosition(), GNEMoveElementShape::getMovingAttributePosition(), GNEMoveElementVehicle::getMovingAttributePosition(), GNEMoveElementView::getMovingAttributePosition(), GNEMoveElementConnection::getMovingAttributePositionVector(), GNEMoveElementCrossing::getMovingAttributePositionVector(), GNEMoveElementEdge::getMovingAttributePositionVector(), GNEMoveElementJunction::getMovingAttributePositionVector(), GNEMoveElementLane::getMovingAttributePositionVector(), GNEMoveElementLaneDouble::getMovingAttributePositionVector(), GNEMoveElementLaneSingle::getMovingAttributePositionVector(), GNEMoveElementPlan::getMovingAttributePositionVector(), GNEMoveElementPlanParent::getMovingAttributePositionVector(), GNEMoveElementShape::getMovingAttributePositionVector(), GNEMoveElementVehicle::getMovingAttributePositionVector(), GNEMoveElementView::getMovingAttributePositionVector(), GNEMoveElementLaneDouble::getMovingProblem(), GNEMoveElementLaneSingle::getMovingProblem(), GNEMoveElement(), GNEMoveElementLaneDouble::isMoveElementValid(), GNEMoveElementLaneSingle::isMoveElementValid(), isMovingAttributeValid(), GNEMoveElementConnection::isMovingAttributeValid(), GNEMoveElementCrossing::isMovingAttributeValid(), GNEMoveElementEdge::isMovingAttributeValid(), GNEMoveElementJunction::isMovingAttributeValid(), GNEMoveElementLane::isMovingAttributeValid(), GNEMoveElementLaneDouble::isMovingAttributeValid(), GNEMoveElementLaneSingle::isMovingAttributeValid(), GNEMoveElementPlan::isMovingAttributeValid(), GNEMoveElementPlanParent::isMovingAttributeValid(), GNEMoveElementShape::isMovingAttributeValid(), GNEMoveElementVehicle::isMovingAttributeValid(), GNEMoveElementView::isMovingAttributeValid(), GNEMoveElementShape::removeGeometryPoint(), GNEMoveElementLaneDouble::setMoveShape(), GNEMoveElementLaneSingle::setMoveShape(), GNEMoveElementShape::setMoveShape(), GNEMoveElementView::setMoveShape(), setMovingAttribute(), setMovingAttribute(), GNEMoveElementConnection::setMovingAttribute(), GNEMoveElementConnection::setMovingAttribute(), GNEMoveElementCrossing::setMovingAttribute(), GNEMoveElementCrossing::setMovingAttribute(), GNEMoveElementEdge::setMovingAttribute(), GNEMoveElementEdge::setMovingAttribute(), GNEMoveElementJunction::setMovingAttribute(), GNEMoveElementJunction::setMovingAttribute(), GNEMoveElementLane::setMovingAttribute(), GNEMoveElementLane::setMovingAttribute(), GNEMoveElementLaneDouble::setMovingAttribute(), GNEMoveElementLaneDouble::setMovingAttribute(), GNEMoveElementLaneSingle::setMovingAttribute(), GNEMoveElementLaneSingle::setMovingAttribute(), GNEMoveElementPlan::setMovingAttribute(), GNEMoveElementPlan::setMovingAttribute(), GNEMoveElementPlanParent::setMovingAttribute(), GNEMoveElementPlanParent::setMovingAttribute(), GNEMoveElementShape::setMovingAttribute(), GNEMoveElementShape::setMovingAttribute(), GNEMoveElementVehicle::setMovingAttribute(), GNEMoveElementVehicle::setMovingAttribute(), GNEMoveElementView::setMovingAttribute(), GNEMoveElementView::setMovingAttribute(), GNEMoveElementLaneDouble::setSize(), GNEMoveElementLaneDouble::writeMoveAttributes(), GNEMoveElementLaneSingle::writeMoveAttributes(), and GNEMoveElementView::writeMoveAttributes().

◆ myMovingLateralOffset

double GNEMoveElement::myMovingLateralOffset = 0
inherited

◆ myReferencePosition

ReferencePosition GNEMoveElementLaneDouble::myReferencePosition = ReferencePosition::CENTER
private

reference position

Definition at line 124 of file GNEMoveElementLaneDouble.h.

Referenced by getMovingAttribute(), and setMovingAttribute().

◆ myStartPos

◆ myTemplateForceSize

bool GNEMoveElementLaneDouble::myTemplateForceSize = false
private

force size (only used in AttributeCarrier templates

Definition at line 121 of file GNEMoveElementLaneDouble.h.

Referenced by getMovingAttribute(), and setMovingAttribute().

◆ myTemplateSize

double GNEMoveElementLaneDouble::myTemplateSize = defaultSize
private

size (only use in AttributeCarrier templates)

Definition at line 118 of file GNEMoveElementLaneDouble.h.

Referenced by getMovingAttribute(), getMovingAttributeDouble(), and setMovingAttribute().


The documentation for this class was generated from the following files: