diff options
Diffstat (limited to 'src/CGAL_Nef_polyhedron_DxfData.cc')
-rw-r--r-- | src/CGAL_Nef_polyhedron_DxfData.cc | 5 |
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"); } |