Subject: CGAL users discussion list
List archive
Re: Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob)
Chronological Thread
- From: Ramin H <>
- To:
- Subject: Re: Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob)
- Date: Thu, 15 Apr 2010 09:58:11 -0400
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=LA16i82VioiiJQNULOsZ2DZOeqOJ5D2fqyUvUYl79FInnzUWLjY87RCDKbyzSZygRu 7nYleZ/OQ7DtnzivT9XJPUWZG3oo0QkM2FotFbXJJsjfL7AEi+C6ZKUTmbsgejj9okg8 Xxjim7mFqdLE9wpImYUQ1ayhRz9D7oh/o6mI0=
I tried to debug and understand why this patch does not work for 3.6 but I could not resolve the issue.
Is there any hope we get a fix for the current version of CGAL-3.6?
Thank you,
-Ramin
On Thu, Apr 8, 2010 at 11:27 AM, Ramin H <> wrote:
Hi,
I upgraded to CGAL-3.6, then applied the patch and confirm that the code does not compile anymore.
Could you please make the patch against CGAL-3.6 ?
Thanks,
-Ramin
PS.Here are the errors:
error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::pair<_Ty1,_Ty2>' (or there is no acceptable conversion) c:\Program Files\CGAL-3.6\include\CGAL\Mesh_3\Mesh_surface_cell_base_3.h 206
error C2440: 'static_cast' : cannot convert from 'std::pair<_Ty1,_Ty2>' to 'int' c:\Program Files\CGAL-3.6\include\CGAL\Mesh_3\Mesh_surface_cell_base_3.h 208
error C2780: 'void CGAL::write(std::ostream &,const T &,const CGAL::io_Extract_insert &)' : expects 3 arguments - 2 provided c:\Program Files\CGAL-3.6\include\CGAL\Mesh_3\Mesh_surface_cell_base_3.h 208
error C2780: 'void CGAL::write(std::ostream &,const T &,const CGAL::io_Operator &)' : expects 3 arguments - 2 provided c:\Program Files\CGAL-3.6\include\CGAL\Mesh_3\Mesh_surface_cell_base_3.h 208
error C2780: 'void CGAL::write(std::ostream &,const T &,const CGAL::io_Read_write &)' : expects 3 arguments - 2 provided c:\Program Files\CGAL-3.6\include\CGAL\Mesh_3\Mesh_surface_cell_base_3.h 208
error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'std::pair<_Ty1,_Ty2>' (or there is no acceptable conversion) c:\Program Files\CGAL-3.6\include\CGAL\Mesh_3\Mesh_surface_cell_base_3.h 186
On Tue, Apr 6, 2010 at 2:09 AM, <> wrote:Hi Laurent ,
I have applied the patch to cgal-3.6. But I get the following errors when
compiling mesh_polyhedral_domain project in mesh_3_example. Do you hava any
idea why it happens?
I added some lines of code for saving and loading triangulation:
----------------------------------------------
std::ofstream c3t3_save("out_1.c3t3");
c3t3_save<<c3t3.triangulation();
c3t3_save.close();
C3t3 new_c3t3;
std::ifstream c3t3_load("out_1.c3t3");
c3t3_load >> new_c3t3.triangulation();
----------------------------------------------------------
compile error:
--------------------------------------------
C:\CGAL-3.6\examples\Mesh_3\..\..\include\CGAL/Mesh_3/Mesh_surface_cell_base_3.h(206)
: error C2679: binary '<<' : no operator found which takes a right-hand operand
of type 'std::pair<_Ty1,_Ty2>' (or there is no acceptable conversion)
C:\CGAL-3.6\examples\Mesh_3\..\..\include\CGAL/Mesh_3/Mesh_surface_cell_base_3.h(208)
: error C2440: 'static_cast' : cannot convert from 'std::pair<_Ty1,_Ty2>' to
'int'
C:\CGAL-3.6\examples\Mesh_3\..\..\include\CGAL/Mesh_3/Mesh_surface_cell_base_3.h(208)
: error C2780: 'void CGAL::write(std::ostream &,const T &,const
CGAL::io_Extract_insert &)' : expects 3 arguments - 2 provided
------------------------------------------------------
Thanks!
Zhonggui Chen, PhD
The University of Hong Kong
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Ramin H, 04/02/2010
- Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Laurent Rineau (GeometryFactory), 04/02/2010
- Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Ramin H, 04/02/2010
- Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Ramin H, 04/02/2010
- Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Laurent Rineau (GeometryFactory), 04/02/2010
- Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Ramin H, 04/02/2010
- Re: Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), chenzhonggui, 04/06/2010
- Re: Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Ramin H, 04/08/2010
- Re: Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Ramin H, 04/15/2010
- Re: Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Ramin H, 04/08/2010
- Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Laurent Rineau (GeometryFactory), 04/02/2010
- Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Ramin H, 04/02/2010
- Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Ramin H, 04/02/2010
- Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Laurent Rineau (GeometryFactory), 04/02/2010
Archive powered by MHonArc 2.6.16.