Subject: CGAL users discussion list
List archive
- From: Edouard Oudet <>
- To:
- Subject: Re: [cgal-discuss] Problem with mesh_polyhedral_domain
- Date: Wed, 12 Jan 2011 09:40:08 +0100
Thank you for your fast answer.
Could you precise in which sense it is not a surface ? I just checked that there is no self intersection and I didn't detect any other problem. Surely I am missing some points...
Edouard.
edouard wrote:
Dear CGAL users,This input cannot be handle by Polyhedron_3 (this is not a surface).
Under linux 64b ubuntu 10.10 I am experimenting some troubles when using the
example code "mesh_polyhedral_domain". The small example works fine with the
oringinal mesh but when I replace the data/elephant.off file by the following
one :
http://www.lama.univ-savoie.fr/~oudet/Download/Meshes/elephant.off
The polyhedron is then empty when you call the mesh algorithm.
In debug mode you would have had a precondition error.
S.
I obtain
./mesh_polyhedral_domain terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted
The input file seems to be OK. As reported in the mailing list, I checked that
the option -frounding-math is turned on. See below the output of the cmake/make
process.
Any help/comment are welcome,
best regards, Edouard Oudet.
[100%] Building CXX object
CMakeFiles/mesh_polyhedral_domain.dir/mesh_polyhedral_domain.o
/usr/bin/c++ -DCGAL_USE_ZLIB -frounding-math -O3 -DNDEBUG
-I/home/oudet/C++/CGAL/CGAL-3.7/examples/Mesh_3/../../include
-I/home/oudet/C++/CGAL/CGAL-3.7/examples/Mesh_3
-I/home/oudet/C++/CGAL/CGAL-3.7/include -o
CMakeFiles/mesh_polyhedral_domain.dir/mesh_polyhedral_domain.o -c
/home/oudet/C++/CGAL/CGAL-3.7/examples/Mesh_3/mesh_polyhedral_domain.cpp
Linking CXX executable mesh_polyhedral_domain
/usr/bin/cmake -E cmake_link_script
CMakeFiles/mesh_polyhedral_domain.dir/link.txt --verbose=1
/usr/bin/c++ -frounding-math -O3 -DNDEBUG CMakeFiles/mesh_polyhedral_domain.dir/mesh_polyhedral_domain.o -o
mesh_polyhedral_domain -rdynamic -L/home/oudet/C++/CGAL/CGAL-3.7/lib
/home/oudet/C++/CGAL/CGAL-3.7/lib/libCGAL_ImageIO.so
/home/oudet/C++/CGAL/CGAL-3.7/lib/libCGAL.so -lgmpxx -lmpfr -lgmp
-lboost_thread-mt -lGLU -lGL -lSM -lICE -lX11 -lXext -lz
/home/oudet/C++/CGAL/CGAL-3.7/lib/libCGAL_ImageIO.so
/home/oudet/C++/CGAL/CGAL-3.7/lib/libCGAL.so -lgmpxx -lmpfr -lgmp
-lboost_thread-mt -lGLU -lGL -lSM -lICE -lX11 -lXext -lz
-Wl,-rpath,/home/oudet/C++/CGAL/CGAL-3.7/lib make[2]: Leaving directory `/home/oudet/C++/CGAL/CGAL-3.7/examples/Mesh_3'
/usr/bin/cmake -E cmake_progress_report
/home/oudet/C++/CGAL/CGAL-3.7/examples/Mesh_3/CMakeFiles 5
[100%] Built target mesh_polyhedral_domain
make[1]: Leaving directory `/home/oudet/C++/CGAL/CGAL-3.7/examples/Mesh_3'
/usr/bin/cmake -E cmake_progress_start
/home/oudet/C++/CGAL/CGAL-3.7/examples/Mesh_3/CMakeFiles 0
--
Edouard Oudet : http://www.lama.univ-savoie.fr/~oudet/
Université de Savoie
Laboratoire de Mathématiques (LAMA) UMR 5127
Campus Scientifique
73 376 Le-Bourget-Du-Lac
+33 (0)4 79 75 87 65 (office)
+33 (0)4 79 68 82 06 (home)
- [cgal-discuss] Problem with mesh_polyhedral_domain, edouard, 01/11/2011
- Re: [cgal-discuss] Problem with mesh_polyhedral_domain, Sebastien Loriot (GeometryFactory), 01/12/2011
- Re: [cgal-discuss] Problem with mesh_polyhedral_domain, Edouard Oudet, 01/12/2011
- Re: [cgal-discuss] Problem with mesh_polyhedral_domain, Sebastien Loriot (GeometryFactory), 01/12/2011
- Re: [cgal-discuss] Problem with mesh_polyhedral_domain, Edouard Oudet, 01/12/2011
- Re: [cgal-discuss] Problem with mesh_polyhedral_domain, Sebastien Loriot (GeometryFactory), 01/12/2011
Archive powered by MHonArc 2.6.16.