src/linetypes/quadrilateral.h

Wed, 22 Sep 2021 00:25:13 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 22 Sep 2021 00:25:13 +0300
changeset 134
f77d2230e87c
parent 132
488d0ba6070b
child 141
185eb297dc1e
permissions
-rw-r--r--

Add remaining serialize methods

#pragma once
#include "polygonobject.h"

namespace ldraw
{
	class Quadrilateral;
}

class ldraw::Quadrilateral : public PolygonObject<4>
{
public:
	using PolygonObject<4>::PolygonObject;
	QString textRepresentation() const override;
	void getPolygons(std::vector<gl::Polygon>& polygons, GetPolygonsContext* context) const override;
	void invert() override;
	Type typeIdentifier() const override;
};

mercurial