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