Sun, 03 Nov 2019 12:17:41 +0200
major update with many things
3 | 1 | #pragma once |
2 | #include "edge.h" | |
3 | ||
4 | namespace modelobjects | |
5 | { | |
6 | class ConditionalEdge; | |
7 | } | |
8 | ||
9 | class modelobjects::ConditionalEdge : public Edge | |
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, | |
18 | const Color color_index = 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 | }; |