33 Position& position,
double& width,
double& height) :
51 const auto snapRadiusSquared = (snap_radius * snap_radius);
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
bool drawMovingGeometryPoints() const
check if draw moving geometry points
const std::string & getTagStr() const
get tag assigned to this object in string format
GNENet * getNet() const
get pointer to net
virtual void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0
GNEAttributeCarrier * myMovedElement
pointer to element
AttributesFormat
attributes format
friend class GNEMoveElementViewResizable
resizable needs access
void setMoveShape(const GNEMoveResult &moveResult) override
set move shape
GNEMoveOperation * getMoveOperation()
get move operation
void commitMoveShape(const GNEMoveResult &moveResult, GNEUndoList *undoList) override
commit move shape
~GNEMoveElementViewResizable()
void setMoveShape(const GNEMoveResult &moveResult) override
set move shape
PositionVector myShapeWidth
shape width
const double myEditLength
check if length can be edited
const double myEditWidth
check if width can be edited
ResizingFormat
attributes format
void commitMoveShape(const GNEMoveResult &moveResult, GNEUndoList *undoList) override
commit move shape
GNEMoveOperation * getMoveOperation()
get move operation
PositionVector myShapeHeight
shape height
const double myEditHeight
check if height can be edited
const GNEMoveOperation::OperationType operationType
move operation
PositionVector shapeToUpdate
shape to update (edited in moveElement)
GNEViewNet * getViewNet() const
get view net
void end()
End undo command sub-group. If the sub-group is still empty, it will be deleted; otherwise,...
void begin(GUIIcon icon, const std::string &description)
Begin undo command sub-group with current supermode. This begins a new group of commands that are tre...
const GUIVisualizationSettings & getVisualisationSettings() const
get visualization settings (read only)
virtual Position getPositionInformation() const
Returns the cursor's x/y position within the network.
GUIVisualizationNeteditSizeSettings neteditSizeSettings
netedit size settings
A point in 2D or 3D with translation and scaling methods.
double length2D() const
Returns the length.
static const double additionalGeometryPointRadius
moving additional geometry point radius