Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Moving vertex

Subject: CGAL users discussion list

List archive

[cgal-discuss] Moving vertex


Chronological Thread 
  • From: Per Zetterlund <>
  • To:
  • Subject: [cgal-discuss] Moving vertex
  • Date: Tue, 20 May 2014 10:34:41 +0200

This might be a stupid question but,
what is the canonical way to move
a vertex in a Polyhedron_3? The
way I do it now is

Point& p = vertex.point();
Point newPoint(p.x() + deltaX, p.y() + deltaY, 0);
p = newPoint;

.

Is thera better way?

/Per



Archive powered by MHonArc 2.6.18.

Top of Page