src/linetypes/triangle.h

changeset 21
0133e565e072
parent 18
918b6c0f8b5b
child 26
3a9e761e4faa
equal deleted inserted replaced
20:cef43609a374 21:0133e565e072
16 Color colorIndex = colors::main); 16 Color colorIndex = colors::main);
17 Triangle(const QVector<Point3D>& vertices, const Color color); 17 Triangle(const QVector<Point3D>& vertices, const Color color);
18 QVariant getProperty(Property id) const override; 18 QVariant getProperty(Property id) const override;
19 SetPropertyResult setProperty(Property id, const QVariant& value) override; 19 SetPropertyResult setProperty(Property id, const QVariant& value) override;
20 QString textRepresentation() const override; 20 QString textRepresentation() const override;
21 void getPolygons(std::vector<gl::Polygon>& polygons, GetPolygonsContext* context) const override;
21 private: 22 private:
22 Point3D points[3] = {{}}; 23 Point3D points[3] = {{}};
23 }; 24 };
24 25

mercurial