Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Squared Radius

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Squared Radius


Chronological Thread 
  • From: Ben Supnik <>
  • To:
  • Subject: Re: [cgal-discuss] Squared Radius
  • Date: Fri, 28 Aug 2009 17:27:45 -0400

What Kernel are you using?

Panagiotis Foteinos wrote:
Hello everybody.

I observed something strange.

If a triangle t(p, q, r) is close to a degenerate one with the value, however, of the predicate t.is_degenerate() always being FALSE, then during the calculation of CGAL::squared_radius(p, q, r), the assertion:

********************************************************************************************
terminate called after throwing an instance of 'CGAL::Assertion_exception'
what(): CGAL ERROR: assertion violation!
Expr: ! CGAL_NTS is_zero(den)
File: /scratch/local/CGAL-3.4/include/CGAL/constructions/kernel_ftC2.h
Line: 60
********************************************************************************************

is trigerred, and the calculation fails.

Unfortunately, this error is difficult to be reproduced, but sometimes it happens.


Is this behavior expected? Is it relevant to the fact that the triangle is almost degenerate?


Thank you,
Panagiotis

--
Scenery Home Page: http://scenery.x-plane.com/
Scenery blog: http://xplanescenery.blogspot.com/
Plugin SDK: http://www.xsquawkbox.net/xpsdk/
X-Plane Wiki: http://wiki.x-plane.com/
Scenery mailing list:

Developer mailing list:




Archive powered by MHonArc 2.6.16.

Top of Page