Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] struggling opening off file

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] struggling opening off file


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] struggling opening off file
  • Date: Tue, 02 Dec 2014 12:03:45 +0100
  • Organization: GeometryFactory

In the Polyhedron demo I was able to read
the file below, and to convert it into a Nef_polyhedron.

You can post your .cpp and I will have a look.

andreas

On 01/12/2014 19:42, Alexandre Lapene wrote:
Hi,

I have done some tests.
I have done the triangulation with CGAL::triangulate_polyhedron(Polyhedron).
Unfortunately I cannot convert polyhedron to Nef_Polyhedron as the previous
fonction and NEf_polyhderon require different kernels.
So I got an off file from triangulate_polyhedron. Here it is:

OFF
8 12 0

5.59796 5.80733 -0.000204912
5.94914 5.35456 -0.000224977
5.94926 5.35465 0.0940349
5.59808 5.80742 0.094055
5.54866 5.76909 -0.000106528
5.89984 5.31632 -0.000126593
5.89996 5.31641 0.0941333
5.54878 5.76918 0.0941534
3 2 1 3
3 3 1 0
3 7 5 6
3 7 4 5
3 5 0 1
3 5 4 0
3 2 3 6
3 6 3 7
3 3 0 7
3 7 0 4
3 6 1 2
3 6 5 1

I load it and try to convert to Nef_polyhedron either with the constructor
or via OFF_nef_3. I still have a execution error "list iterator not
dereferencable"
I'm completely stuck...

Thanks in advance for any help

Alexandre




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/struggling-opening-off-file-tp4660163p4660197.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912 skype: andreas.fabri



Archive powered by MHonArc 2.6.18.

Top of Page