Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss][] how to push modified vertex back to Polyhedron data structure?

Subject: CGAL users discussion list

List archive

[cgal-discuss][] how to push modified vertex back to Polyhedron data structure?


Chronological Thread 
  • From: "samuel kim" <>
  • To: <>
  • Subject: [cgal-discuss][] how to push modified vertex back to Polyhedron data structure?
  • Date: Thu, 24 Apr 2008 19:11:22 +0200
  • Organization: Purdue

Hi all,

How can the intentionally modified votex value be pushed back into the data
structure? The below is an example source code I want to do.

for(Point_iterator pPoint = points_begin();pPoint !=
points_end();pPoint++)
{
double mdx = pPoint->x()*3.0;
double mdy = pPoint->y()*3.0;
double mdz = pPoint->z()*3.0;

here, how to store the modified vertex(mdx,mdy,mdz) into
pPoint->x,y,z?
}

Anyone knows this? Thanks.

Samuel




Archive powered by MHonArc 2.6.16.

Top of Page