Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Splitting a polyhedron halfedge and fixing the point of the new vertex

Subject: CGAL users discussion list

List archive

[cgal-discuss] Splitting a polyhedron halfedge and fixing the point of the new vertex


Chronological Thread 
  • From: Costas Tsirogiannis <>
  • To:
  • Subject: [cgal-discuss] Splitting a polyhedron halfedge and fixing the point of the new vertex
  • Date: Thu, 20 May 2010 16:46:14 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QtP86BnM32lnaAtHJmAqsGITALLARaQA/qKvKzWnJXvoGINWxEUUvpTtQ3Xkrqjw8D MYgXuB+ZMGs/lEOF76H+RI/HDvD6tJtbEh74VoaY0cVP2HvrHnmNlcWpqe9wh67ZQd6w Kf525yabvhCetdmSvTFaKyjptEyrJaN4xCqzY=


 Greetings,

  I'm running an algorithm on a Polyhedron_3 object. At some point during the execution
the algorithm decides to split a (half)edge h into two pieces.

Consider the vertex v that is created on (what used to be) the interior of h.
I want  the algorithm then to fix the coordinates of  v->point() to some specific ones.

How can this be done?  There is the spilt_edge member function of the polyhedron but
this actually makes v to be the copy of some pre-existing vertex.
The polyhedron vertex class does not have either any "set_point()" member function.

Can I do something with the de-constified version of vertex->point()?
 
thanks in advance

Constantinos



Archive powered by MHonArc 2.6.16.

Top of Page