src/linetypes/conditionaledge.h

changeset 18
918b6c0f8b5b
parent 14
20d2ed3af73d
child 33
4c41bfe2ec6e
equal deleted inserted replaced
17:a5111f4e6412 18:918b6c0f8b5b
9 class linetypes::ConditionalEdge : public Edge 9 class linetypes::ConditionalEdge : public Edge
10 { 10 {
11 public: 11 public:
12 ConditionalEdge() = default; 12 ConditionalEdge() = default;
13 ConditionalEdge( 13 ConditionalEdge(
14 const Vertex& point_1, 14 const Point3D& point_1,
15 const Vertex& point_2, 15 const Point3D& point_2,
16 const Vertex& controlPoint_1, 16 const Point3D& controlPoint_1,
17 const Vertex& controlPoint_2, 17 const Point3D& controlPoint_2,
18 const Color colorIndex = colors::edge); 18 const Color colorIndex = colors::edge);
19 ConditionalEdge(const QVector<Vertex>& vertices, const Color color); 19 ConditionalEdge(const QVector<Point3D>& vertices, const Color color);
20 QVariant getProperty(Property property) const override; 20 QVariant getProperty(Property property) const override;
21 SetPropertyResult setProperty( 21 SetPropertyResult setProperty(
22 Property property, 22 Property property,
23 const QVariant& value) override; 23 const QVariant& value) override;
24 QString textRepresentation() const override; 24 QString textRepresentation() const override;
25 private: 25 private:
26 Vertex controlPoint_1 = {}; 26 Point3D controlPoint_1 = {};
27 Vertex controlPoint_2 = {}; 27 Point3D controlPoint_2 = {};
28 }; 28 };

mercurial