Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] assign CGAL::Point_3 array

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] assign CGAL::Point_3 array


Chronological Thread 
  • From: Sylvain Pion <>
  • To:
  • Subject: Re: [cgal-discuss] assign CGAL::Point_3 array
  • Date: Fri, 19 Jun 2009 11:33:21 +0200
  • Organization: INRIA

Gmain wrote:
Hi folks,

sorry for my question, since it seems very easy to handle... unfortunately I
can“t. My Kernel is:
typedef Exact_predicates_exact_constructions_kernel Kernel;

I have an array of
Kernel::Point_3 PList[i];

while running through
std::list<Point_3> List
I want to assign PList[i] with the current iterator it;
Point_3 tempPoint=*it;
PList[m]=tempPoint; (m=0,1, i-1)

The problem here is, that in the actual PList[m] (0.5,0.5,0.5) is stored and
not the info of tempPoint.
How can I avoid this?

What do you mean by "the info of tempPoint" ?
If you can send a complete minimal program demonstrating the problem,
that might help us understand the issue.

--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page