51 const std::vector<int> originalgeometryPoints,
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
virtual void setMoveShape(const GNEMoveResult &moveResult)=0
set move shape
static const PositionVector calculateMovementOverLane(const GNEViewNet *viewNet, const GNEMoveOperation *moveOperation, const Position &offset)
calculate movement over lane
virtual GNEMoveOperation * getMoveOperation(const double shapeOffset)=0
get move operation for the given shapeOffset
GNEMoveElement()
constructor
static void commitMove(const GNEViewNet *viewNet, GNEMoveOperation *moveOperation, const Position &offset, GNEUndoList *undoList)
commit move element for the given offset
virtual void commitMoveShape(const GNEMoveResult &moveResult, GNEUndoList *undoList)=0
commit move shape
GNEMoveElement(const GNEMoveElement &)=delete
Invalidated copy constructor.
static void moveElement(const GNEViewNet *viewNet, GNEMoveOperation *moveOperation, const Position &offset)
move element the for given offset (note: offset can be X-Y-0, 0-0-Z or X-Y-Z)
GNEMoveElement & operator=(const GNEMoveElement &)=delete
Invalidated assignment operator.
virtual void removeGeometryPoint(const Position clickedPosition, GNEUndoList *undoList)=0
remove geometry point in the clicked position
const PositionVector originalShape
original shape
const std::vector< int > originalGeometryPoints
original shape points to move (of original shape)
GNEMoveOperation & operator=(const GNEMoveOperation &)=delete
Invalidated assignment operator.
const PositionVector shapeToMove
shape to move
const std::vector< double > originalPosOverLanes
original position over lanes
GNEMoveOperation(GNEMoveElement *moveElement, const Position originalPosition)
constructor for values with a single position (junctions, E3, ParkingSpaces...)
~GNEMoveOperation()
destructor
const GNELane * lane
original lane
GNEMoveOperation(const GNEMoveOperation &)=delete
Invalidated copy constructor.
const std::vector< int > geometryPointsToMove
shape points to move (of shapeToMove)
GNEMoveElement * moveElement
move element
GNEMoveResult(const GNEMoveResult &)=delete
Invalidated copy constructor.
~GNEMoveResult()
destructor
GNEMoveResult()
constructor
std::vector< int > geometryPointsToMove
shape points to move (of shapeToMove)
PositionVector shapeToUpdate
shape to update (edited in moveElement)
A point in 2D or 3D with translation and scaling methods.