Subject: CGAL users discussion list
List archive
- From: Giles Bathgate <>
- To:
- Subject: Re: [cgal-discuss] Unable to read .off files
- Date: Sat, 19 Apr 2014 23:50:15 +0100
On 19 April 2014 20:58, dg <> wrote:
Hi,
Thanks for your reply.
Making your proposed change does read the file.
However, why did u make this change ?
Also, when I open my original file in meshlab it opens correctly.
Thanks.
dg.
The integer sequences are the indexes of the vertexes in the first part of the file.
The integer sequences therefore describe a set of closed planar polygons. It was just an observation that the sequence, 3 0 1 2, describes neither a closed, nor planar polygon. I assumed this was just a mistake, and you actually just meant to represent a closed triangle described by the sequence 3 0 1 3.
As for meshlab being able to understand it, perhaps it ignores the last vertex index in the sequence and assumes that all polygons start at their finish (the last integer does seem redundant in the OFF file format)
Regards,
Giles
- [cgal-discuss] Unable to read .off files, dg, 04/19/2014
- Re: [cgal-discuss] Unable to read .off files, Giles Bathgate, 04/19/2014
- Re: [cgal-discuss] Unable to read .off files, dg, 04/19/2014
- Re: [cgal-discuss] Unable to read .off files, Giles Bathgate, 04/20/2014
- Message not available
- Re: [cgal-discuss] Unable to read .off files, dg, 04/20/2014
- Message not available
- Re: [cgal-discuss] Unable to read .off files, Giles Bathgate, 04/20/2014
- Re: [cgal-discuss] Unable to read .off files, dg, 04/19/2014
- Re: [cgal-discuss] Unable to read .off files, Giles Bathgate, 04/19/2014
Archive powered by MHonArc 2.6.18.