src/linetypes/conditionaledge.cpp

Tue, 21 Sep 2021 16:00:15 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Tue, 21 Sep 2021 16:00:15 +0300
changeset 132
488d0ba6070b
parent 87
93ec4d630346
child 141
185eb297dc1e
permissions
-rw-r--r--

Begin work with serialization

#include "conditionaledge.h"

QString ldraw::ConditionalEdge::textRepresentation() const
{
	return utility::format("%1 %2 %3 %4",
		utility::vertexToStringParens(this->points[0]),
		utility::vertexToStringParens(this->points[1]),
		utility::vertexToStringParens(this->points[2]),
			utility::vertexToStringParens(this->points[3]));
}

ldraw::Object::Type ldraw::ConditionalEdge::typeIdentifier() const
{
	return Type::ConditionalEdge;
}

mercurial