Skip to Content.
Sympa Menu

cgal-discuss - Re:Re: [cgal-discuss] How can I assign point's coordinates to some variable of type double?

Subject: CGAL users discussion list

List archive

Re:Re: [cgal-discuss] How can I assign point's coordinates to some variable of type double?


Chronological Thread 
  • From:
  • To:
  • Subject: Re:Re: [cgal-discuss] How can I assign point's coordinates to some variable of type double?
  • Date: Sun, 9 Mar 2008 21:28:18 +0800 (CST)

 
 
 
 

在2008-03-09,"Eric Berberich" <> 写道:
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

-- 
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss



中 国 最 强 网 游 --- 网 易 梦 幻 西 游 ,166 万 玩 家 同 时 在 线


Archive powered by MHonArc 2.6.16.

Top of Page