~ubuntu-branches/debian/stretch/cgal/stretch

« back to all changes in this revision

Viewing changes to examples/Polyhedron_IO/off2vrml.cpp

  • Committer: Package Import Robot
  • Author(s): Joachim Reichel
  • Date: 2014-04-05 10:56:43 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20140405105643-jgnrpu2thtx23zfs
Tags: 4.4-1
* New upstream release.
* Remove patches do-not-link-example-with-qt4-support-library.patch and
  fix_jet_fitting_3.patch (applied upstream).

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
        CGAL::VRML_1_ostream os( *p_out);
88
88
        CGAL::File_writer_inventor  writer;
89
89
        CGAL::generic_copy_OFF( *p_in, *p_out, writer);
 
90
        if(!os) return EXIT_FAILURE;
90
91
        os.close();
91
92
    } else {
92
93
        CGAL::VRML_2_ostream os( *p_out);
93
94
        CGAL::File_writer_VRML_2  writer;
94
95
        CGAL::generic_copy_OFF( *p_in, *p_out, writer);
 
96
        if(!os) return EXIT_FAILURE;
95
97
        os.close();
96
98
    }
97
99
    vout << "    .... done." << endl;