Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Problem with storing handles as member objects
- Date: Tue, 06 Jul 2010 07:48:38 +0200
Costas Tsirogiannis wrote:
Greetings,What do you use to split halfedges ? (the underlying question being how
I have a problem with run-time errors coming from an unorthodox use of handles:
I make use of a triangulation and of an augmented polyhedron_3 object. This augmented polyhedron
is a refinement of the surface represented by the triangulation : as some algorithm goes on, new edges
are added on what used to be the triangular faces. It is important that the halfedges,faces and vertices
on the polyhedron that originate from features of the triangulation should point to the corresponding triangulation
features. Thus each feature stores a handle of the original triangulation object: a polyhedron vertex stores a handle
to the original triangulation vertex of the same coordinates, a halfedge stores a handle to the triangulation edge or
face on which it lies etc.
When a feature is refined eg a halfedge is split, these stored handles of triangulation features are copied to
the newly created features. And then segmentation faults appear.
your handles are set)
Specifically, things go wrong when there is an attempt
to access the handle member object of the new feature outside of the function that created the feature (and copied the
handle object to it). Any ideas for what could fix this?
thanks
Constantinos
- [cgal-discuss] Problem with storing handles as member objects, Costas Tsirogiannis, 07/05/2010
- Re: [cgal-discuss] Problem with storing handles as member objects, Sebastien Loriot (GeometryFactory), 07/06/2010
- Re: [cgal-discuss] Problem with storing handles as member objects, Costas Tsirogiannis, 07/06/2010
- Re: [cgal-discuss] Problem with storing handles as member objects, Sebastien Loriot (GeometryFactory), 07/06/2010
- Re: [cgal-discuss] Problem with storing handles as member objects, Costas Tsirogiannis, 07/06/2010
- Re: [cgal-discuss] Problem with storing handles as member objects, Sebastien Loriot (GeometryFactory), 07/06/2010
- Re: [cgal-discuss] Problem with storing handles as member objects, Costas Tsirogiannis, 07/07/2010
- Re: [cgal-discuss] Problem with storing handles as member objects, Sebastien Loriot (GeometryFactory), 07/08/2010
- Re: [cgal-discuss] Problem with storing handles as member objects, Costas Tsirogiannis, 07/08/2010
- Re: [cgal-discuss] Problem with storing handles as member objects, Costas Tsirogiannis, 07/07/2010
- Re: [cgal-discuss] Problem with storing handles as member objects, Sebastien Loriot (GeometryFactory), 07/06/2010
- Re: [cgal-discuss] Problem with storing handles as member objects, Costas Tsirogiannis, 07/06/2010
- Re: [cgal-discuss] Problem with storing handles as member objects, Sebastien Loriot (GeometryFactory), 07/06/2010
- Re: [cgal-discuss] Problem with storing handles as member objects, Costas Tsirogiannis, 07/06/2010
- Re: [cgal-discuss] Problem with storing handles as member objects, Sebastien Loriot (GeometryFactory), 07/06/2010
Archive powered by MHonArc 2.6.16.