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: Matthew Denno <>
  • To:
  • Subject: Re: [cgal-discuss] Convert CGAL::Lazy_exact_nt<CGAL::Gmpq> to Double
  • Date: Wed, 21 Oct 2009 09:41:03 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jUEElcB4OCMiXMMJMeF97yS+DE5lmVbACNhVbbZYaQbvpR77o8P7yjlIm+PJtFWl60 AWyUaMt45yE50GXcsgBna8bZyoFk6nzdk2/YBNNKV3gknr1IpvUGmCNspw6YEFQf+RRY 2jXqv24y4HI0dRVOG5DnERCh0s5/boBlax8XI=

Ah, perfect!  Thank you.

On Wed, Oct 21, 2009 at 9:33 AM, Laurent Rineau (GeometryFactory) <> wrote:
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/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss




Archive powered by MHonArc 2.6.16.

Top of Page