Subject: CGAL users discussion list
List archive
- From: Philipp Moeller <>
- To:
- Subject: Re: [cgal-discuss] Re: error C2662 in creating a surface class for surface
- Date: Thu, 11 Oct 2012 18:03:50 +0200
- Organization: GeometryFactory
Jorge
<>
writes:
> Hello,
>
> I'm trying to do something similar. I'm trying to remesh a 3D surface using
> similar code that the one given in the demo/Polyhedron/ . I'm using the
> AABB_polyhedral_oracle.h.
> I'm creating a triangulation as follows, also a an Object C2t3 and the AABB
> tree with a pointer to an existing polyhedron (the one I want to remesh).
>
> Tr& triangulation = * new Tr; // 3D-Surface_mesh_default_triangulation_3
> C2t3& c2t3 = *(new C2t3(triangulation));
Those two expressions are really evil. You are almost guaranteed to leak
both objects. Are you sure this is what you want to do?
> // input surface
> Polyhedron* pMesh = &MyPolyhedron;
> Input_RSurface input(*pMesh); // AABB tree
>
> Then I use the function make_surface_mesh(... I'm using
> Exact_predicates_exact_constructions kernel
> and I have experienced the code hanging (never returning from calls to
> classes that use the AABB tree).
>
> Could you give me some insight on the issue?
You are saying that there is an error but then also that the code
hangs. If there is an error, there shouldn't be an executable to
hang. Which one is it?
- [cgal-discuss] Re: error C2662 in creating a surface class for surface, Jorge, 10/11/2012
- Re: [cgal-discuss] Re: error C2662 in creating a surface class for surface, Philipp Moeller, 10/11/2012
- [cgal-discuss] Re: error C2662 in creating a surface class for surface, Jorge, 10/11/2012
- Re: [cgal-discuss] Re: error C2662 in creating a surface class for surface, Philipp Moeller, 10/11/2012
- [cgal-discuss] Re: error C2662 in creating a surface class for surface, Jorge, 10/11/2012
- Re: [cgal-discuss] Re: error C2662 in creating a surface class for surface, Philipp Moeller, 10/11/2012
Archive powered by MHonArc 2.6.18.