Fri, 08 Nov 2019 19:05:07 +0200
things
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( | |
14 | const Vertex& point_1, | |
15 | const Vertex& point_2, | |
16 | const Vertex& controlPoint_1, | |
17 | const Vertex& controlPoint_2, | |
13 | 18 | const Color colorIndex = colors::edge); |
8
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
19 | ConditionalEdge(const QVector<Vertex>& 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: |
26 | Vertex controlPoint_1 = {}; | |
27 | Vertex controlPoint_2 = {}; | |
28 | }; |