Subject: CGAL users discussion list
List archive
- 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
- Bug when using Delaunay_Triangulation_3, Bernhard Kornberger, 08/10/2007
- Re: [cgal-discuss] Bug when using Delaunay_Triangulation_3, Camille Wormser, 08/11/2007
- Re: [cgal-discuss] Bug when using Delaunay_Triangulation_3 (solved), Bernhard Kornberger, 08/14/2007
- Re: [cgal-discuss] Bug when using Delaunay_Triangulation_3, Camille Wormser, 08/11/2007
Archive powered by MHonArc 2.6.16.