Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] OFF file reading error

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] OFF file reading error


Chronological Thread 
  • From: Peter Hachenberger <>
  • To:
  • Subject: Re: [cgal-discuss] OFF file reading error
  • Date: Wed, 04 Jul 2007 19:00:10 +0200

Hi Kiran,

your file cannot be handled by Polyhedron_3 since it is not a
2-manifold.

Peter

On Wed, 2007-07-04 at 11:54 +0200, Kiran Varanasi wrote:
> 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



  • OFF file reading error, Kiran Varanasi, 07/04/2007
    • Re: [cgal-discuss] OFF file reading error, Peter Hachenberger, 07/04/2007

Archive powered by MHonArc 2.6.16.

Top of Page