34 shapeToMove({_originalPosition}),
35operationType(OperationType::POSITION) {
50 const bool _firstGeometryPoint,
62 const std::vector<int> _originalgeometryPoints,
64 const std::vector<int> _geometryPointsToMove) :
76 const double _firstPosition,
77 const bool _allowChangeLane) :
80 firstPosition(_firstPosition * _lane->getLengthGeometryFactor()),
88 const double _firstPosition,
89 const double _lastPosition,
90 const bool _allowChangeLane) :
102 const double _firstStartPos,
104 const double _lastStartPos,
105 const bool _clickedFirstLane,
106 const bool _allowChangeLane) :
const double INVALID_DOUBLE
invalid double
const OperationType operationType
operation type
const PositionVector originalShape
original shape
const std::vector< int > originalGeometryPoints
original shape points to move (of original shape)
const PositionVector shapeToMove
shape to move
const bool clickedFirstLane
@check if clicked the first lane or the last lane (used only in multilane elements like E2)
GNEMoveOperation(GNEMoveElement *moveElement, const Position originalPosition)
constructor for values with a single position (junctions, E3, ParkingSpaces...)
const GNELane * lastLane
original last lane
const double lastPosition
original last Position
~GNEMoveOperation()
destructor
const GNELane * firstLane
original first lane
const std::vector< int > geometryPointsToMove
shape points to move (of shapeToMove)
const double firstPosition
original first Position
const bool allowChangeLane
allow change lane
GNEMoveElement * moveElement
move element
const bool firstGeometryPoint
first position (used for edit with/height
A point in 2D or 3D with translation and scaling methods.