Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Can all Nef_Polyhedron that is simple be converted to Polyhedron?
Chronological Thread
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Can all Nef_Polyhedron that is simple be converted to Polyhedron?
- Date: Thu, 24 Nov 2011 13:58:35 +0100
Actually, you have some self intersection in your polyhedron,
so you cannot use the nef constructor from polyhedron.
Try this instead:
#include <CGAL/OFF_to_nef_3.h>
........
Nef_polyhedron N;
CGAL::OFF_to_nef_3(ifile,N);
On my machine that is working fine.
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Nef_3_ref/Function_OFF_to_nef_3.html
Sebastien.
BOSS wrote:
When I run the examples/Nef_3/handling_double_coordinates.cpp.
If I make some changes that input is from .off file and ,I get a wrong.
Here is my codes , .off file,and a picture about the wrong.
http://cgal-discuss.949826.n4.nabble.com/file/n4103551/N1.off N1.off http://cgal-discuss.949826.n4.nabble.com/file/n4103551/m.cpp m.cpp http://cgal-discuss.949826.n4.nabble.com/file/n4103551/wrong.jpg wrong.jpg I want to know why it is there is a wrong,thanks.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Can-all-Nef-Polyhedron-that-is-simple-be-converted-to-Polyhedron-tp4103551p4103551.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Can all Nef_Polyhedron that is simple be converted to Polyhedron?, BOSS, 11/24/2011
- Re: [cgal-discuss] Can all Nef_Polyhedron that is simple be converted to Polyhedron?, Sebastien Loriot (GeometryFactory), 11/24/2011
Archive powered by MHonArc 2.6.16.