Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Uncatchable exception converting from Nef polyhedron to Polyhedron_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Uncatchable exception converting from Nef polyhedron to Polyhedron_3


Chronological Thread 
  • From: Marius Kintel <>
  • To:
  • Subject: Re: [cgal-discuss] Uncatchable exception converting from Nef polyhedron to Polyhedron_3
  • Date: Fri, 20 Feb 2015 15:01:41 -0500

On Feb 20, 2015, at 14:55 PM, Sebastien Loriot (GeometryFactory)
<>
wrote:
> In the meantime you can try:
> #define CGAL_CT2_WANTS_TO_HAVE_EXTRA_ACTION_FOR_INTERSECTING_CONSTRAINTS
> #define CGAL_CDT2_EXTRA_ACTION_FOR_INTERSECTING_CONSTRAINTS throw
> WhatEverException;
>
> This will allow you to throw an exception if constraints intersect.
>
Not sure that would make a difference. If those defines are not there, the
default action is "CGAL_triangulation_assertion(false);”
..which throws an exception. The presence of this exception is what causes
the later crash.

My understanding is that what we need is to _not_ throw _any_ exceptions in
destructors, as that requires a guarantee that no existing exceptions can be
active. Such a guarantee is probably hard or tedious to maintain.

-Marius




Archive powered by MHonArc 2.6.18.

Top of Page