Fri, 08 Nov 2019 19:05:07 +0200
things
#include "object.h" namespace linetypes { class Triangle; } class linetypes::Triangle : public ColoredObject { public: Triangle() = default; Triangle( const Vertex &point_1, const Vertex &point_2, const Vertex &point_3, Color colorIndex = colors::main); Triangle(const QVector<Vertex>& vertices, const Color color); QVariant getProperty(Property id) const override; SetPropertyResult setProperty(Property id, const QVariant& value) override; QString textRepresentation() const override; private: Vertex points[3] = {{}}; };