Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?
- Date: Fri, 15 Mar 2013 14:54:32 +0100
- Organization: GeometryFactory
Indeed,
try that instead:
--- a/include/CGAL/IO/generic_print_polyhedron.h
+++ b/include/CGAL/IO/generic_print_polyhedron.h
@@ -42,9 +42,9 @@ generic_print_polyhedron( std::ostream& out,
P.size_of_halfedges(),
P.size_of_facets());
for( VCI vi = P.vertices_begin(); vi != P.vertices_end(); ++vi) {
- writer.write_vertex( ::CGAL::to_double( vi->point().x()),
- ::CGAL::to_double( vi->point().y()),
- ::CGAL::to_double( vi->point().z()));
+ out << '\n' << vi->point().x()
+ << ' ' << vi->point().y()
+ << ' ' << vi->point().z();
}
On 03/15/2013 02:05 PM, tang wrote:
Dear Dr. Loriot,
Sorry for my mistake.
I didn't change the include path in my project setting. Now I changed it
back to CGAl4.2 and redo everything. The following errors displayed when
rebuild projects:
Error 9 error C2664: 'CGAL::File_writer_OFF::write_vertex' : cannot
convert
parameter 1 from 'CGAL::Lazy_exact_nt<ET_>' to 'const double&'
E:\cgallib\include\CGAL4.2\CGAL\IO\generic_print_polyhedron.h 50 1
CSGlib
Error 8 error C2664: 'CGAL::File_writer_OFF::write_vertex' : cannot
convert
parameter 1 from 'const CGAL::Gmpq' to 'const double&'
E:\cgallib\include\CGAL4.2\CGAL\IO\generic_print_polyhedron.h 50 1
booleantest
Could you please tell me what do I miss?
Thanks,
Zhanghong Tang
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/bugs-of-Boolean-operations-in-CGAL-4-2-beta-and-4-1-tp4656931p4656976.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- Re: [cgal-discuss] bugs of Boolean operations in CGAL 4.2 beta and 4.1?, (continued)
- Re: [cgal-discuss] bugs of Boolean operations in CGAL 4.2 beta and 4.1?, Sebastien Loriot (GeometryFactory), 03/14/2013
- [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, tang, 03/14/2013
- Re: [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, Sebastien Loriot (GeometryFactory), 03/15/2013
- [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, tang, 03/15/2013
- Re: [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, Sebastien Loriot (GeometryFactory), 03/15/2013
- [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, tang, 03/15/2013
- [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, tang, 03/15/2013
- Re: [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, Sebastien Loriot (GeometryFactory), 03/15/2013
- [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, tang, 03/15/2013
- [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, tang, 03/15/2013
- Re: [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, Sebastien Loriot (GeometryFactory), 03/15/2013
- [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, tang, 03/15/2013
- Re: [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, Sebastien Loriot (GeometryFactory), 03/15/2013
- [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, tang, 03/15/2013
- Re: [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, Sebastien Loriot (GeometryFactory), 03/15/2013
- [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?, tang, 03/14/2013
- Re: [cgal-discuss] bugs of Boolean operations in CGAL 4.2 beta and 4.1?, Sebastien Loriot (GeometryFactory), 03/14/2013
Archive powered by MHonArc 2.6.18.