Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] stack flow of "Triangulation_3.incident_vertices( )" when using in VC2005

Subject: CGAL users discussion list

List archive

[cgal-discuss] stack flow of "Triangulation_3.incident_vertices( )" when using in VC2005


Chronological Thread 
  • From: Shuchu <>
  • To: CGAL <>
  • Subject: [cgal-discuss] stack flow of "Triangulation_3.incident_vertices( )" when using in VC2005
  • Date: Wed, 12 Nov 2008 11:59:08 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=L17eBQUlcJx5uudiVAsWPctwVIla1v3ky44X2Lq4JZKMuKSPGzjk/ZkWwm8ES5kALR R5MRvmS+hPTBpt58YZZwInBzIc2TqRQXGpBTlt31VOCqHvzi7mGPPwQ9MOVulpjH6OsK TzkeVnYmnVI1kefpzibvdvdbdCVCtVL+4vCtY=

Hi, all,

Why the operation "Triangulation_3.incident_vertices( )" show different results when in different compiler?

In my code , a CGAL::Triangulation_3 is built by using the method in "<CGAL/Triangulation_incremental_builder_3.h> " .

I try to find all vertices that incident to the infinite vertex. the code is as follow:
//////////////////////////////////////////////
CGAL::Triangulation_3<> original_tet; ........
std::vector<Vertex_handle> vertices_incident_infinite;
Vertex_handle infinite_p = original_tet.infinite_vertex();
original_tet.incident_vertices( infinite_p , std::back_inserter( vertices_incident_infinite));
.........
//////////////////////////////////////////

this part of code is working fine under the GCC compiler ( cygwin-gcc).
but in Vc2005, when debugging, the debugger throw an exception and say "stack overflow" at " original_tet.incident_vertices().."
like: " Unhandled exception at 0x00424ce9 in ****.exe: 0xC00000FD: Stack overflow."


Should I be careful when using this operation under VC2005?



Best Regards
Han shuchu







Archive powered by MHonArc 2.6.16.

Top of Page