OpenLexocad  27.1
CmdAddStructuralConnection.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Core/Command.h>
4 #include <OpenLxApp/Element.h>
5 
6 namespace OpenLxCmd
7 {
14 class LX_OPENLXCMD_EXPORT CmdAddStructuralPointConnection : public Core::Command
15 {
16 public:
18  explicit CmdAddStructuralPointConnection(const Geom::Pnt &pickedPoint);
20 
21  bool redo() override;
22  bool undo() override;
23 
24 private:
25  std::unique_ptr<Core::Command> _cmd;
26 };
27 }
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:43
Interface(s) to the command "CmdAddStructuralConnection".
Definition: CmdAddStructuralConnection.h:14
bool undo(int id=0)
Will UNDO one step, returns False if no undo was done (Undos == 0).
bool redo(int id=0)
Will REDO one step, returns False if no redo was done (Redos == 0).
Definition: CmdAddBolt.h:7
Definition: Command.h:34