Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Triangulation_ds_face_base_2.h

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Triangulation_ds_face_base_2.h


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Triangulation_ds_face_base_2.h
  • Date: Wed, 05 Sep 2007 11:39:12 +0200


wrote:
Thanks for the tip Andreas,

but wasn't that. I also never change anything in the triangulation, so it could
not become invalid. (I only manipulate STL containers of vertex handles and use
a ->info() part to assign attributes to vertices on which my processing is
based.)

Are you sure that the vertex handle in question is still a vertex
of the triangulation.

Say when you do this:

std::list<Vertex_handle> vertices;

Vertex_handle vh = dt.insert(Point_2(0,0));

vertices.push_back(vh);

dt.remove_vertex(vertices.front());

dt.incident_vertices(vh);

this will crash.



The strange thing is the problem never occurs on the debug mode. Do you think
I can trust the results I get in debug mode are correct? And still I have to
some when compile the thing to dll or something...

It's to expect that in debug modes some things work that don't in release
mode.


It would be great if anybody is willing to take a look at the project I've
uploaded. It's rather easy to understand, but I'm out of ideas about what
might be wrong...


You haven't upladed anything. If I look at it depends on the code
size/complexity

andreas

Thanks



Archive powered by MHonArc 2.6.16.

Top of Page