Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Bug when using Delaunay_Triangulation_3 (solved)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Bug when using Delaunay_Triangulation_3 (solved)


Chronological Thread 
  • From: Bernhard Kornberger <>
  • To:
  • Subject: Re: [cgal-discuss] Bug when using Delaunay_Triangulation_3 (solved)
  • Date: Tue, 14 Aug 2007 22:19:10 +0200

Camille Wormser schrieb:

This is a printing issue: you are using an exact number type, and the conversion to double fails.
You can still recover the exact values by doing:

Point q = T.dual(c_it);
std::cout << "v="
<< q.x().exact().to_double() << " "
<< q.y().exact().to_double() << " "
<< q.z().exact().to_double() << " " << std::endl;

The root of the problem is that the to_double function of Lazy_exact_nt does not detect NaN or Infinity properly:

Thank you, Camille. This solved the problem.

Best regards
Bernhard



Archive powered by MHonArc 2.6.16.

Top of Page