Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] debugging assertions

Subject: CGAL users discussion list

List archive

[cgal-discuss] debugging assertions


Chronological Thread 
  • From: Michael George <>
  • To:
  • Subject: [cgal-discuss] debugging assertions
  • Date: Wed, 6 Jan 2010 13:30:25 -0500

I am using the 2D Nef polyhedra package with a custom exact number type (rationals adjoin sqrt(2) and sqrt(3)). I'm receiving the following assertion:

what: CGAL ERROR: assertion violation!
Expr: *succ == &sh || orientation(succ, p_sweep) < 0
File: /usr/include/CGAL/Nef_2/Segment_overlay_traits.h
Line: 766


I am guessing this is due to an error in my number implementation. Is there any way to automatically determine if I have correctly implemented the FT concept? Does anyone have any recommendations for debugging this?

--Mike


  • [cgal-discuss] debugging assertions, Michael George, 01/06/2010

Archive powered by MHonArc 2.6.16.

Top of Page