Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

[cgal-discuss] assign CGAL::Point_3 array


Chronological Thread 
  • From: Gmain <>
  • To:
  • Subject: [cgal-discuss] assign CGAL::Point_3 array
  • Date: Fri, 19 Jun 2009 11:25:39 +0200 (CEST)

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?
tx
Fanki


Archive powered by MHonArc 2.6.16.

Top of Page