diff --git a/Stream_support/include/CGAL/IO/OBJ/File_writer_wavefront_impl.h b/Stream_support/include/CGAL/IO/OBJ/File_writer_wavefront_impl.h deleted file mode 100644 index a946c3debf3..00000000000 --- a/Stream_support/include/CGAL/IO/OBJ/File_writer_wavefront_impl.h +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) 1997 -// Utrecht University (The Netherlands), -// ETH Zurich (Switzerland), -// INRIA Sophia-Antipolis (France), -// Max-Planck-Institute Saarbruecken (Germany), -// and Tel-Aviv University (Israel). All rights reserved. -// -// This file is part of CGAL (www.cgal.org) -// -// $URL$ -// $Id$ -// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial -// -// -// Author(s) : Lutz Kettner - -#ifdef CGAL_HEADER_ONLY -#define CGAL_INLINE_FUNCTION inline -#else -#define CGAL_INLINE_FUNCTION -#endif - -#include -#include -#include - -namespace CGAL { - -CGAL_INLINE_FUNCTION -void -File_writer_wavefront:: -write_header( std::ostream& o, - std::size_t vertices, - std::size_t halfedges, - std::size_t facets){ - m_out = &o; - m_facets = facets; - // Print header. - out() << "# file written from a CGAL tool in Wavefront obj format\n"; - out() << "# " << vertices << " vertices\n"; - out() << "# " << halfedges << " halfedges\n"; - out() << "# " << facets << " facets\n\n"; - - out() << "\n# " << vertices << " vertices\n"; - out() << "# ------------------------------------------\n\n"; -} - -} //namespace CGAL -// EOF // diff --git a/Stream_support/include/CGAL/IO/OI/File_writer_inventor.h b/Stream_support/include/CGAL/IO/OI/File_writer_inventor.h index eb232e7b457..5eb30c31460 100644 --- a/Stream_support/include/CGAL/IO/OI/File_writer_inventor.h +++ b/Stream_support/include/CGAL/IO/OI/File_writer_inventor.h @@ -24,7 +24,7 @@ namespace CGAL { -class CGAL_EXPORT File_writer_inventor +class File_writer_inventor { std::ostream* m_out; std::size_t m_facets; diff --git a/Stream_support/include/CGAL/IO/OI/File_writer_inventor_impl.h b/Stream_support/include/CGAL/IO/OI/File_writer_inventor_impl.h deleted file mode 100644 index 5903ee8e126..00000000000 --- a/Stream_support/include/CGAL/IO/OI/File_writer_inventor_impl.h +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright (c) 1997 -// Utrecht University (The Netherlands), -// ETH Zurich (Switzerland), -// INRIA Sophia-Antipolis (France), -// Max-Planck-Institute Saarbruecken (Germany), -// and Tel-Aviv University (Israel). All rights reserved. -// -// This file is part of CGAL (www.cgal.org) -// -// $URL$ -// $Id$ -// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial -// -// -// Author(s) : Lutz Kettner - -#ifdef CGAL_HEADER_ONLY -#define CGAL_INLINE_FUNCTION inline -#else -#define CGAL_INLINE_FUNCTION -#endif - -#include - -namespace CGAL { - -CGAL_INLINE_FUNCTION -void -File_writer_inventor:: -write_header( std::ostream& o, - std::size_t vertices, - std::size_t halfedges, - std::size_t facets){ - m_out = &o; - m_facets = facets; - out() << "# " << vertices << " vertices\n"; - out() << "# " << halfedges << " halfedges\n"; - out() << "# " << facets << " facets\n\n"; - out() << "Separator {\n" - " Coordinate3 {\n" - " point [" << std::endl; -} - -CGAL_INLINE_FUNCTION -void -File_writer_inventor:: -write_facet_header() const { - out() << " ] #point\n" - " } #Coordinate3\n" - " # " << m_facets << " facets\n" - " IndexedFaceSet {\n" - " coordIndex [\n"; -} - -CGAL_INLINE_FUNCTION -void -File_writer_inventor:: -write_footer() const { - out() << " ] #coordIndex\n" - " } #IndexedFaceSet\n" - "} #Separator" << std::endl; -} - -} //namespace CGAL -// EOF // diff --git a/Stream_support/include/CGAL/IO/VRML/File_writer_VRML_2_impl.h b/Stream_support/include/CGAL/IO/VRML/File_writer_VRML_2_impl.h deleted file mode 100644 index 65e2ffb1da2..00000000000 --- a/Stream_support/include/CGAL/IO/VRML/File_writer_VRML_2_impl.h +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright (c) 1997 -// Utrecht University (The Netherlands), -// ETH Zurich (Switzerland), -// INRIA Sophia-Antipolis (France), -// Max-Planck-Institute Saarbruecken (Germany), -// and Tel-Aviv University (Israel). All rights reserved. -// -// This file is part of CGAL (www.cgal.org) -// -// $URL$ -// $Id$ -// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial -// -// -// Author(s) : Lutz Kettner - -#ifdef CGAL_HEADER_ONLY -#define CGAL_INLINE_FUNCTION inline -#else -#define CGAL_INLINE_FUNCTION -#endif - -#include -#include -#include - -namespace CGAL { - -CGAL_INLINE_FUNCTION -void -File_writer_VRML_2:: -write_header( std::ostream& o, - std::size_t vertices, - std::size_t halfedges, - std::size_t facets) { - m_out = &o; - m_facets = facets; - - out() << " #-- Begin of Polyhedron_3\n"; - out() << " # " << vertices << " vertices\n"; - out() << " # " << halfedges << " halfedges\n"; - out() << " # " << facets << " facets\n"; - out() << " Group {\n" - " children [\n" - " Shape {\n" - " appearance Appearance { material " - "USE Material }\n" - " geometry IndexedFaceSet {\n" - " convex FALSE\n" - " solid FALSE\n" - " coord Coordinate {\n" - " point [" << std::endl; -} - -void -File_writer_VRML_2:: -write_facet_header() const { - out() << " ] #point\n" - " } #coord Coordinate\n" - " coordIndex [" << std::endl; -} - -void -File_writer_VRML_2:: -write_footer() const { - out() << " ] #coordIndex\n" - " } #geometry\n" - " } #Shape\n" - " ] #children\n" - " } #Group" << std::endl; -} - -} //namespace CGAL -// EOF // diff --git a/Stream_support/src/CGAL/File_writer_VRML_2.cpp b/Stream_support/src/CGAL/File_writer_VRML_2.cpp deleted file mode 100644 index 9ab47330cad..00000000000 --- a/Stream_support/src/CGAL/File_writer_VRML_2.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) 1997 -// Utrecht University (The Netherlands), -// ETH Zurich (Switzerland), -// INRIA Sophia-Antipolis (France), -// Max-Planck-Institute Saarbruecken (Germany), -// and Tel-Aviv University (Israel). All rights reserved. -// -// This file is part of CGAL (www.cgal.org) -// -// $URL$ -// $Id$ -// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial -// -// -// Author(s) : Lutz Kettner - -#ifndef CGAL_HEADER_ONLY - -#include -#include - -#endif // CGAL_HEADER_ONLY - -// EOF // diff --git a/Stream_support/src/CGAL/File_writer_inventor.cpp b/Stream_support/src/CGAL/File_writer_inventor.cpp deleted file mode 100644 index da1bdadc2aa..00000000000 --- a/Stream_support/src/CGAL/File_writer_inventor.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) 1997 -// Utrecht University (The Netherlands), -// ETH Zurich (Switzerland), -// INRIA Sophia-Antipolis (France), -// Max-Planck-Institute Saarbruecken (Germany), -// and Tel-Aviv University (Israel). All rights reserved. -// -// This file is part of CGAL (www.cgal.org) -// -// $URL$ -// $Id$ -// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial -// -// -// Author(s) : Lutz Kettner - -#ifndef CGAL_HEADER_ONLY - -#include -#include - -#endif // CGAL_HEADER_ONLY - -// EOF // diff --git a/Stream_support/src/CGAL/File_writer_wavefront.cpp b/Stream_support/src/CGAL/File_writer_wavefront.cpp deleted file mode 100644 index cbd7decb69b..00000000000 --- a/Stream_support/src/CGAL/File_writer_wavefront.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) 1997 -// Utrecht University (The Netherlands), -// ETH Zurich (Switzerland), -// INRIA Sophia-Antipolis (France), -// Max-Planck-Institute Saarbruecken (Germany), -// and Tel-Aviv University (Israel). All rights reserved. -// -// This file is part of CGAL (www.cgal.org) -// -// $URL$ -// $Id$ -// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial -// -// -// Author(s) : Lutz Kettner - -#ifndef CGAL_HEADER_ONLY - -#include -#include - -#endif // CGAL_HEADER_ONLY - -// EOF //