Sat, 14 Dec 2019 23:00:01 +0200
fixed build
14 | 1 | #include "object.h" |
3 | 2 | |
13 | 3 | namespace linetypes |
3 | 4 | { |
5 | class Triangle; | |
6 | } | |
7 | ||
13 | 8 | class linetypes::Triangle : public ColoredObject |
3 | 9 | { |
10 | public: | |
11 | Triangle() = default; | |
12 | Triangle( | |
18 | 13 | const Point3D &point_1, |
14 | const Point3D &point_2, | |
15 | const Point3D &point_3, | |
13 | 16 | Color colorIndex = colors::main); |
18 | 17 | Triangle(const QVector<Point3D>& vertices, const Color color); |
3 | 18 | QVariant getProperty(Property id) const override; |
19 | SetPropertyResult setProperty(Property id, const QVariant& value) override; | |
6 | 20 | QString textRepresentation() const override; |
3 | 21 | private: |
18 | 22 | Point3D points[3] = {{}}; |
3 | 23 | }; |
24 |