src/objecttypes/edge.h

changeset 8
44679e468ba9
parent 6
73e448b2943d
child 13
6e838748867b
equal deleted inserted replaced
7:68443f5be176 8:44679e468ba9
11 public: 11 public:
12 using BaseClass = ColoredBaseObject; 12 using BaseClass = ColoredBaseObject;
13 Edge() = default; 13 Edge() = default;
14 Edge(const Vertex& point_1, const Vertex& point_2, 14 Edge(const Vertex& point_1, const Vertex& point_2,
15 const Color color_index = colors::edge); 15 const Color color_index = colors::edge);
16 Edge(const QVector<Vertex>& vertices, const Color color);
16 QVariant getProperty(Property property) const override; 17 QVariant getProperty(Property property) const override;
17 SetPropertyResult setProperty( 18 SetPropertyResult setProperty(
18 Property property, 19 Property property,
19 const QVariant& value) override; 20 const QVariant& value) override;
20 QString textRepresentation() const override; 21 QString textRepresentation() const override;

mercurial