P2P constraint fix

Но по-хорошему стоит придумать, как после P2P соединить линии одной точкой
This commit is contained in:
2025-12-08 23:01:02 +03:00
parent a238b11db7
commit 24316cdd4f
5 changed files with 51 additions and 13 deletions

View File

@@ -64,6 +64,10 @@ public:
void set_tag(int _tag) {
tag = _tag;
}
int get_tag() {
return tag;
}
};
using VEC_P = std::vector<Point>;
@@ -227,6 +231,7 @@ public:
Line* Copy() override;
void set_tag(int);
int get_tag();
bool contains(QPointF, qreal tol = 10.0) const;
};