2 #include "core/tool.hpp"
3 #include "tool_helper_merge.hpp"
4 #include "tool_helper_move.hpp"
5 #include "tool_helper_collect_nets.hpp"
19 std::set<InToolActionID> get_actions()
const override
21 using I = InToolActionID;
45 Coordi get_selection_center();
46 void expand_selection();
48 void do_move(
const Coordi &c);
52 void update_airwires();
57 enum class Axis { NONE = 0, X = 1, Y = 2 };
58 friend Axis &operator|=(Axis &a,
const Axis &b);
59 friend Axis operator|(Axis a, Axis b);
60 friend Axis operator&(Axis a, Axis b);
61 std::map<UUID, Axis> extra_junctions;
62 void add_extra_junction(
const UUID &uu, Axis ax);
63 void move_extra_junctions(
const Coordi &delta);
65 std::set<class Plane *> planes;
Definition: idocument.hpp:5