Sun, 26 Jan 2020 01:06:27 +0200
fix default angle
3 | 1 | #pragma once |
2 | #include "edge.h" | |
3 | ||
13 | 4 | namespace linetypes |
3 | 5 | { |
6 | class ConditionalEdge; | |
7 | } | |
8 | ||
13 | 9 | class linetypes::ConditionalEdge : public Edge |
3 | 10 | { |
11 | public: | |
12 | ConditionalEdge() = default; | |
13 | ConditionalEdge( | |
18 | 14 | const Point3D& point_1, |
15 | const Point3D& point_2, | |
16 | const Point3D& controlPoint_1, | |
17 | const Point3D& controlPoint_2, | |
13 | 18 | const Color colorIndex = colors::edge); |
18 | 19 | ConditionalEdge(const QVector<Point3D>& vertices, const Color color); |
3 | 20 | QVariant getProperty(Property property) const override; |
21 | SetPropertyResult setProperty( | |
22 | Property property, | |
23 | const QVariant& value) override; | |
6 | 24 | QString textRepresentation() const override; |
3 | 25 | private: |
18 | 26 | Point3D controlPoint_1 = {}; |
27 | Point3D controlPoint_2 = {}; | |
3 | 28 | }; |