Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] How can I assign point's coordinates to some variable of type double?
Chronological Thread
- From: Eric Berberich <>
- To:
- Subject: Re: [cgal-discuss] How can I assign point's coordinates to some variable of type double?
- Date: Sun, 09 Mar 2008 10:57:01 +0100
Olivier Devillers wrote:
double x=p.x();double x = p.x().to_double();
I might be that case that CGAL::to_double(p.x()) is even more general. The member to_double is number type specific (here probably CORE::BigRat), while the global function CGAL::to_double is expected to work for all supported number types.
eriC
- How can I assign point's coordinates to some variable of type double?, sanlington, 03/09/2008
- Re: [cgal-discuss] How can I assign point's coordinates to some variable of type double?, Olivier Devillers, 03/09/2008
- Re: [cgal-discuss] How can I assign point's coordinates to some variable of type double?, Eric Berberich, 03/09/2008
- Re:Re: [cgal-discuss] How can I assign point's coordinates to some variable of type double?, sanlington, 03/09/2008
- Re: [cgal-discuss] How can I assign point's coordinates to some variable of type double?, Olivier Devillers, 03/09/2008
Archive powered by MHonArc 2.6.16.