50 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
void commitMoveShape(const GNEMoveResult &moveResult, GNEUndoList *undoList) override
commit move shape
GNEMoveOperation * getMoveOperation() override
get move operation
~GNEMoveElementViewResizable()
void setMoveShape(const GNEMoveResult &moveResult) override
set move shape
PositionVector myShapeWidth
shape width
const bool myEditWidth
check if width can be edited
const bool myEditHeight
check if height can be edited
GNEMoveOperation * getMoveOperation() override
get move operation
ResizingFormat
attributes format
void commitMoveShape(const GNEMoveResult &moveResult, GNEUndoList *undoList) override
commit move shape
const bool myEditLength
check if length can be edited
PositionVector myShapeHeight
shape height
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