Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Convert CGAL::Lazy_exact_nt<CGAL::Gmpq> to Double

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Convert CGAL::Lazy_exact_nt<CGAL::Gmpq> to Double


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Convert CGAL::Lazy_exact_nt<CGAL::Gmpq> to Double
  • Date: Wed, 21 Oct 2009 15:33:53 +0200
  • Organization: GeometryFactory

On Wednesday 21 October 2009 15:11:47 Matthew Denno wrote:
> 1) Is there a way to convert a CGAL::Lazy_exact_nt<CGAL::Gmpq> value to
> double precision so that I can write to results out to a shapefile?

As for that question, use CGAL::to_double
http://www.cgal.org/Manual/3.5/doc_html/cgal_manual/Algebraic_foundations_ref/Function_to_double.html

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page