summaryrefslogtreecommitdiff
path: root/src/CGAL_Nef_polyhedron_DxfData.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-10-28 13:56:23 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-10-28 13:56:23 (GMT)
commit4ecd9fa8a4ceeb49ec62a50197f4fa4da9276796 (patch)
treec298e527789aeecb2c742044683471a48c9acf1a /src/CGAL_Nef_polyhedron_DxfData.cc
parent1dbcd7f4689fd0ed84997e2fb80a1b77e06f6b26 (diff)
refactor, cleanup, put code where it belongs, make simple logging class
Diffstat (limited to 'src/CGAL_Nef_polyhedron_DxfData.cc')
-rw-r--r--src/CGAL_Nef_polyhedron_DxfData.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/CGAL_Nef_polyhedron_DxfData.cc b/src/CGAL_Nef_polyhedron_DxfData.cc
index 26b9353..0d0b8f0 100644
--- a/src/CGAL_Nef_polyhedron_DxfData.cc
+++ b/src/CGAL_Nef_polyhedron_DxfData.cc
@@ -29,6 +29,7 @@
#include "CGAL_Nef_polyhedron.h"
#include "cgal.h"
#include "cgalutils.h"
+#include "svg.h"
#ifdef ENABLE_CGAL
@@ -81,9 +82,9 @@ DxfData *CGAL_Nef_polyhedron::convertToDxfData() const
std::string CGAL_Nef_polyhedron::dump() const
{
if (this->dim==2)
- return dump_cgal_nef_polyhedron2_svg( *this->p2 );
+ return OpenSCAD::dump_svg( *this->p2 );
else if (this->dim==3)
- return dump_cgal_nef_polyhedron3_svg( *this->p3 );
+ return OpenSCAD::dump_svg( *this->p3 );
else
return std::string("Nef Polyhedron with dimension != 2 or 3");
}
contact: Jan Huwald // Impressum