Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Mesh Simlification

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Mesh Simlification


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Mesh Simlification
  • Date: Fri, 04 Apr 2008 14:51:05 +0200

sinan mutlu wrote:
Hi again,

I am trying to use "CGAL-3.3.1\examples\Surface_mesh_simplification" example. While it works for "cube.off" file it does not work
for another "xxx.off". For example I have a skull.off file and in the main function I have tried this

Surface surface;
std::ifstream is("skull.off") ;
is >> surface ;


Hi Sinan,

Can you check here, that you really have read something.
Just print surface.number_of_vertices() or something similar.

andreas



std::ofstream out("output.off");
out<<surface;

The output in the output.off file
OFF
0 0 0

I could not understand the reason. Can anybody help me, if there is someone who had this problem before.

Note: skull.off file is in the attachment.









Archive powered by MHonArc 2.6.16.

Top of Page