9 class linetypes::Quadrilateral : public ColoredObject |
9 class linetypes::Quadrilateral : public ColoredObject |
10 { |
10 { |
11 public: |
11 public: |
12 Quadrilateral() = default; |
12 Quadrilateral() = default; |
13 Quadrilateral( |
13 Quadrilateral( |
14 const Vertex &point_1, |
14 const Point3D &point_1, |
15 const Vertex &point_2, |
15 const Point3D &point_2, |
16 const Vertex &point_3, |
16 const Point3D &point_3, |
17 const Vertex &point_4, |
17 const Point3D &point_4, |
18 Color colorIndex = colors::main); |
18 Color colorIndex = colors::main); |
19 Quadrilateral(const QVector<Vertex>& vertices, const Color color); |
19 Quadrilateral(const QVector<Point3D>& vertices, const Color color); |
20 QVariant getProperty(Property id) const override; |
20 QVariant getProperty(Property id) const override; |
21 SetPropertyResult setProperty(Property id, const QVariant& value) override; |
21 SetPropertyResult setProperty(Property id, const QVariant& value) override; |
22 QString textRepresentation() const override; |
22 QString textRepresentation() const override; |
23 private: |
23 private: |
24 Vertex points[4] = {{}}; |
24 Point3D points[4] = {{}}; |
25 }; |
25 }; |