Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Converting FT to double in Extended_cartesian with Gmpq

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Converting FT to double in Extended_cartesian with Gmpq


Chronological Thread 
  • From: Marc Glisse <>
  • To:
  • Subject: Re: [cgal-discuss] Converting FT to double in Extended_cartesian with Gmpq
  • Date: Sun, 28 Apr 2013 00:26:18 +0200 (CEST)

On Sat, 27 Apr 2013, Evan Behar wrote:

Ah, thanks. I also forgot to ask the other part of the question, though this
helps me get to the point:
I want to convert values in my Point_3 to doubles (for rendering, output,
etc.), but when I write

p.x().exact().to_double()

or

p.x().to_double() I get the error:

Better use CGAL::to_double instead of hoping for a member function.

Is FT not Lazy_exact_nt< CGAL::Gmpq >?

Apparently not, seems to be some undocumented polynomial type (look at CGAL/Nef_polynomial.h if you need details about that type).


--
Marc Glisse



Archive powered by MHonArc 2.6.18.

Top of Page