src/vertex.cpp

changeset 20
cef43609a374
parent 18
918b6c0f8b5b
child 21
0133e565e072
--- a/src/vertex.cpp	Sat Dec 14 22:36:06 2019 +0200
+++ b/src/vertex.cpp	Sat Dec 14 23:00:01 2019 +0200
@@ -61,6 +61,11 @@
 	}
 }
 
+Point3D::operator QVariant() const
+{
+	return QVariant::fromValue(*this);
+}
+
 void Point3D::assign(Axis axis, CoordinateType value)
 {
 	this->get(axis) = value;

mercurial