![]() |
Eclipse SUMO - Simulation of Urban MObility
|
move operation More...
#include <GNEMoveElement.h>
Public Member Functions | |
| GNEMoveOperation (GNEMoveElement *moveElement, const GNELane *lane, const std::vector< double > originalPosOverLanes) | |
| constructor for elements placed over lanes (StoppingPlaces, detectors...) More... | |
| GNEMoveOperation (GNEMoveElement *moveElement, const GNELane *lane, const std::vector< double > originalPosOverLanes, const std::vector< int > geometryPointsToMove) | |
| constructor for edit elements placed over lanes (start/end of StoppingPlaces, detectors...) More... | |
| GNEMoveOperation (GNEMoveElement *moveElement, const Position originalPosition) | |
| constructor for values with a single position (junctions, E3, ParkingSpaces...) More... | |
| GNEMoveOperation (GNEMoveElement *moveElement, const PositionVector originalShape) | |
| constructor for entire geometries (Polygon with blocked shapes) More... | |
| GNEMoveOperation (GNEMoveElement *moveElement, const PositionVector originalShape, const std::vector< int > originalgeometryPoints, const PositionVector shapeToMove, const std::vector< int > geometryPointsToMove) | |
| constructor for elements with editable shapes (edges, polygons...) More... | |
| ~GNEMoveOperation () | |
| destructor More... | |
Data Fields | |
| const std::vector< int > | geometryPointsToMove |
| shape points to move (of shapeToMove) More... | |
| const GNELane * | lane |
| original lane More... | |
| GNEMoveElement * | moveElement |
| move element More... | |
| const std::vector< int > | originalGeometryPoints |
| original shape points to move (of original shape) More... | |
| const std::vector< double > | originalPosOverLanes |
| original position over lanes More... | |
| const PositionVector | originalShape |
| original shape More... | |
| const PositionVector | shapeToMove |
| shape to move More... | |
Private Member Functions | |
| GNEMoveOperation (const GNEMoveOperation &)=delete | |
| Invalidated copy constructor. More... | |
| GNEMoveOperation & | operator= (const GNEMoveOperation &)=delete |
| Invalidated assignment operator. More... | |
move operation
Definition at line 37 of file GNEMoveElement.h.
| GNEMoveOperation::GNEMoveOperation | ( | GNEMoveElement * | moveElement, |
| const Position | originalPosition | ||
| ) |
constructor for values with a single position (junctions, E3, ParkingSpaces...)
Definition at line 32 of file GNEMoveElement.cpp.
| GNEMoveOperation::GNEMoveOperation | ( | GNEMoveElement * | moveElement, |
| const PositionVector | originalShape | ||
| ) |
constructor for entire geometries (Polygon with blocked shapes)
Definition at line 41 of file GNEMoveElement.cpp.
| GNEMoveOperation::GNEMoveOperation | ( | GNEMoveElement * | moveElement, |
| const PositionVector | originalShape, | ||
| const std::vector< int > | originalgeometryPoints, | ||
| const PositionVector | shapeToMove, | ||
| const std::vector< int > | geometryPointsToMove | ||
| ) |
constructor for elements with editable shapes (edges, polygons...)
Definition at line 50 of file GNEMoveElement.cpp.
| GNEMoveOperation::GNEMoveOperation | ( | GNEMoveElement * | moveElement, |
| const GNELane * | lane, | ||
| const std::vector< double > | originalPosOverLanes | ||
| ) |
constructor for elements placed over lanes (StoppingPlaces, detectors...)
Definition at line 64 of file GNEMoveElement.cpp.
| GNEMoveOperation::GNEMoveOperation | ( | GNEMoveElement * | moveElement, |
| const GNELane * | lane, | ||
| const std::vector< double > | originalPosOverLanes, | ||
| const std::vector< int > | geometryPointsToMove | ||
| ) |
constructor for edit elements placed over lanes (start/end of StoppingPlaces, detectors...)
Definition at line 73 of file GNEMoveElement.cpp.
| GNEMoveOperation::~GNEMoveOperation | ( | ) |
destructor
Definition at line 84 of file GNEMoveElement.cpp.
|
privatedelete |
Invalidated copy constructor.
|
privatedelete |
Invalidated assignment operator.
| const std::vector<int> GNEMoveOperation::geometryPointsToMove |
shape points to move (of shapeToMove)
Definition at line 84 of file GNEMoveElement.h.
Referenced by GNEMoveElement::commitMove(), and GNEMoveElement::moveElement().
| const GNELane* GNEMoveOperation::lane |
original lane
Definition at line 87 of file GNEMoveElement.h.
Referenced by GNEMoveElement::calculateMovementOverLane(), GNEMoveElement::commitMove(), and GNEMoveElement::moveElement().
| GNEMoveElement* GNEMoveOperation::moveElement |
move element
Definition at line 70 of file GNEMoveElement.h.
Referenced by GNEMoveElement::commitMove(), and GNEMoveElement::moveElement().
| const std::vector<int> GNEMoveOperation::originalGeometryPoints |
original shape points to move (of original shape)
Definition at line 76 of file GNEMoveElement.h.
Referenced by GNEMoveElement::commitMove().
| const std::vector<double> GNEMoveOperation::originalPosOverLanes |
original position over lanes
Definition at line 90 of file GNEMoveElement.h.
Referenced by GNEMoveElement::calculateMovementOverLane(), and GNEMoveElement::commitMove().
| const PositionVector GNEMoveOperation::originalShape |
original shape
Definition at line 73 of file GNEMoveElement.h.
Referenced by GNEMoveElement::commitMove().
| const PositionVector GNEMoveOperation::shapeToMove |
shape to move
Definition at line 81 of file GNEMoveElement.h.
Referenced by GNEMoveElement::commitMove(), and GNEMoveElement::moveElement().