Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Squared Radius

Subject: CGAL users discussion list

List archive

[cgal-discuss] Squared Radius


Chronological Thread 
  • From: Panagiotis Foteinos <>
  • To:
  • Subject: [cgal-discuss] Squared Radius
  • Date: Fri, 28 Aug 2009 17:21:04 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dC3h3ugtU3/LutYZXJ7BNG/gt9ixNt7znZynfWeb2T0nfaddif8Xrnich38LXssU8u vM8JwMid0vLgwfGIzUzVbbcLX5xXoOpbbM534OMc43t4pAwfdfHPKtZaW9tVvg3UFAHV 8ETda2hRJ3zp/+o+VVJ6CSwj2p8JuUe5CncVk=

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



Archive powered by MHonArc 2.6.16.

Top of Page