summaryrefslogtreecommitdiff
path: root/dxfdata.cc
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-05 19:09:01 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-05 19:09:01 (GMT)
commita02e00083f385a1770103569e07b2b5eb8d7ee4f (patch)
treeeb21fc21ba838912e99e732155ac7de3945624f2 /dxfdata.cc
parent8457c079e3d9d8aa77b184c1ba1dec09f7116fc6 (diff)
Clifford Wolf:
New hack for 2d transformations: create DxfData, transform, tess to polyset, recreate nef git-svn-id: http://svn.clifford.at/openscad/trunk@203 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'dxfdata.cc')
-rw-r--r--dxfdata.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/dxfdata.cc b/dxfdata.cc
index 8949ad8..a8ef57e 100644
--- a/dxfdata.cc
+++ b/dxfdata.cc
@@ -23,6 +23,14 @@
#include <QFile>
+struct Line {
+ typedef DxfData::Point Point;
+ Point *p[2];
+ bool disabled;
+ Line(Point *p1, Point *p2) { p[0] = p1; p[1] = p2; disabled = false; }
+ Line() { p[0] = NULL; p[1] = NULL; disabled = false; }
+};
+
DxfData::DxfData(double fn, double fs, double fa, QString filename, QString layername, double xorigin, double yorigin, double scale)
{
handle_dep(filename);
contact: Jan Huwald // Impressum