Subject: CGAL users discussion list
List archive
- From: Maxime Gimeno <>
- To:
- Subject: Re: [cgal-discuss] CGAL exception while reading CNOFF file
- Date: Fri, 31 Jan 2020 10:54:25 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:0NZ0Nh04NP1C59gIsmDT+DRfVm0co7zxezQtwd8ZseIRLfad9pjvdHbS+e9qxAeQG9mCt7QY06GO7uigATVGvc/a9ihaMdRlbFwssY0uhQsuAcqIWwXQDcXBSGgEJvlET0Jv5HqhMEJYS47UblzWpWCuv3ZJQk2sfQV6Kf7oFYHMks+5y/69+4HJYwVPmTGxfa5+IA+5oAnMucQam4RvJro+xhfVonZDZuBayX91KV6JkBvw+8m98IR//yhMvv4q6tJNX7j9c6kkV7JTES4oM3oy5M3ltBnDSRWA634BWWgIkRRGHhbI4gjiUpj+riX1uOx92DKHPcLtVrA7RS6i76ZwRxD2jioMKiM0/3vWisx0i6JbvQ6hqhliyIPafI2ZKPxzdb7bcNgHR2ROQ9xRWjRODYOybYQBD+QPM+VFoYfju1QDtgGxCRW2Ce711jNEmn370Ksn2OohCwHG2wkgEsoJvnvOo9T1NaISXv6ox6fJzDXDau1Z2TH66IPVdR0hpOuDXL1xccrU10YjDQzFjlSVqYP7OTOV0f8As2ee7+V6VOKvj3QrpB12ojiq38ohjJTCiIwSylDB7yp5wYA1KMW5SE59e96kEYFfuzuUN4tsWs8iTXpouDsgxrIYpJG7YS4Hw4kkyR7Hc/GLbZSE7xb5WOuSITp0nm9pdbO9ihqo7EStyfHwW8+p21hQtCVFiMPDtnUV2hzT9MeHTvx981+k2TmV1gDT7vhIIUc1labGMpIhzKM8m5kPvUjZES/2n0L2jKCSdko64OSn9+PnYrD+qp+dMY97lB3+P7wwlsCjBek0KAsDUmiB9eih1bDu/1f1TKhJg/EqiqXZtYrVJcUfpq63GQ9V1YMj5g66Dzi839UYnHwHI0xfdBKIjojpPk/BIPb/DfqkjFSslS1kx/HCPrH7HprNKX3DnK/7fblh805c1BYzzddH6p1IBbEOOvbzVlbsu9zZFR82LxG0w/38CNhmzYMfWWePAreDP6/IsF+I4PgvI+iWa4MPtjb9Matt2vj1kHVsmUMBZbL7mtwMeXWgF7JnJV+YaDzimJAaAGISt00/SuLtz1aNWDoWa3epVL8n/WIHD9etAo7HA4ysm7ecxzyTH5tMZ2kABErfP23vctChUucNbS/aDc5knzoDHeykQp8g0Bzouw7/xrxgBuXR8ywc85nk0Y4mtKXoiRgu+GksXIym2GaXQjQsxz5ad3oNxKl65HdF5BKD3Kx/2aIKENVS47ZOU15/O8eMl6p1DNf9Xg+HddCMGg7/HoeWRAopR9d0+OcgJl5nEoz73B/G1iuuRbQSku7TXc1mwufnx3H0Yv1F5TPD3aglgUMhR5IWZ2Kjj697sQPUAtyQng==
Indeed. There is a bug in our reader, if comments are found between the COFF and the 8 6 12, we crash. I'm going to fix that.
> Your input file is not following the standard, that is why it crashes
> in CGAL.
I found a COFF file in the internet:
https://people.sc.fsu.edu/~jburkardt/data/off/vertcube.off
This loads in meshlab and shows colors but it fails to be read with CGAL
in the following lines:
>
> >
> > if (!input || !(input >> *mesh)) {
> > perror(filename);
> > }
> ....
> >
> > for (SurfaceMesh::Vertex_index vi : mesh->vertices()) {
> > verts.push_back(mesh->point(vi));
> > if (colorExists )
> > cols.push_back(vcolors[vi]);
> > }
>
Empty loop (found with gdb).
so long
MUFTI
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] CGAL exception while reading CNOFF file, J. Scheurich, 01/31/2020
- Re: [cgal-discuss] CGAL exception while reading CNOFF file, Sebastien Loriot (GeometryFactory), 01/31/2020
- Re: [cgal-discuss] CGAL exception while reading CNOFF file, Maxime Gimeno, 01/31/2020
- Re: [cgal-discuss] CGAL exception while reading CNOFF file, J. Scheurich, 01/31/2020
- Re: [cgal-discuss] CGAL exception while reading CNOFF file, Maxime Gimeno, 01/31/2020
- Re: [cgal-discuss] CGAL exception while reading CNOFF file, J. Scheurich, 01/31/2020
- Re: [cgal-discuss] CGAL exception while reading CNOFF file, Maxime Gimeno, 01/31/2020
- Re: [cgal-discuss] CGAL exception while reading CNOFF file, Sebastien Loriot (GeometryFactory), 01/31/2020
Archive powered by MHonArc 2.6.18.