Skip to Content.
Sympa Menu

cgal-discuss - OFF file reading error

Subject: CGAL users discussion list

List archive

OFF file reading error


Chronological Thread 
  • From: "Kiran Varanasi" <>
  • To:
  • Subject: OFF file reading error
  • Date: Wed, 4 Jul 2007 11:54:56 +0200

Dear All
I would like to report a problem I am facing with reading certain OFF files. I declare

ifstream is(filename);
Polyhedron_3 p;
is >> p;

and when I print

p.size_of_facets(), p.size_of_vertices()

I am getting 0 facets , 0 vertices  and so on.

I am attaching the file in question, please check if you face the same problem. I am curious if it is a bug with CGAL or if there is another error in my program. I doubt the latter because the same code works well with certain other OFF files.

Regards
Kiran

Attachment: clean435.off
Description: Binary data




Archive powered by MHonArc 2.6.16.

Top of Page