src/linetypes/conditionaledge.cpp

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

#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