Subject: CGAL users discussion list
List archive
- From: sanlington <>
- To:
- Subject: How can I assign point's coordinates to some variable of type double?
- Date: Sun, 9 Mar 2008 17:21:06 +0800 (CST)
In my program,I included these following head files:
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Delaunay_triangulation_3.h>
and my type definition:
typedef CGAL::Exact_predicates_exact_constructions_kernel K;
typedef CGAL::Delaunay_triangulation_3<K> Delaunay;
typedef Delaunay::Point Point;
typedef CGAL::Delaunay_triangulation_3<K> Delaunay;
typedef Delaunay::Point Point;
I find I can not assign the coordinate of one point that is Point type to variable of double type,like this:
double x=p.x();
why ?and how can assign p.x() to x?
any help will be appreciated,thank you.
中 国 最 强 网 游 --- 网 易 梦 幻 西 游 ,166 万 玩 家 同 时 在 线
- 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.