Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Problems updating Poin_d's memebers

Subject: CGAL users discussion list

List archive

[cgal-discuss] Problems updating Poin_d's memebers


Chronological Thread 
  • From: luchia <>
  • To:
  • Subject: [cgal-discuss] Problems updating Poin_d's memebers
  • Date: Thu, 3 May 2012 06:07:54 -0700 (PDT)

Hallo,

Let assume p = (p_0, ..., p_k) be a point of type CGAL::Point_d<Kernel> with

typedef CGAL::Lazy_exact_nt<CGAL::Quotient&lt;CGAL::MP_Float>>
Ntype;
typedef CGAL::Cartesian_d<Ntype>
Kernel;

Now let assume I want to change the 0<= i-th<= k cartesian coordinate of p.
So I perform:

p[i] = new_data;

The question is: why the above statement has no effect on p[i]? I mean, why
after the assignment statment, the value of p[i] does not change? How is
possible
to access and modify the members of an object of type Point_d?

Thanks a lot in advance,

Luca








--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Problems-updating-Poin-d-s-memebers-tp4605970.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page