Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to insert a list of edges into surface mesh?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to insert a list of edges into surface mesh?


Chronological Thread 
  • From: Guillaume Damiand <>
  • To:
  • Subject: Re: [cgal-discuss] How to insert a list of edges into surface mesh?
  • Date: Wed, 10 Jul 2013 15:09:37 +0200

Hi,


Le 10/07/2013 11:56, tang a écrit :
Dear all,

I have the surface mesh defined by
Polyhedron P;
and list of edges defined by two end points
vector<Point_3> pt0, pt9;
where pt0[i]--pt9[i] form an edge.

How to insert the list of edges into surface mesh P?

To insert an edge between two points p1, p2; you have to use the split_facet operation [1] using the two Halfedge_handle in P corresponding to the two points p1, p2.

Guillaume

[1] http://doc.cgal.org/4.2/CGAL.CGAL.3D-Polyhedral-Surface/html/classCGAL_1_1Polyhedron__3.html#a3ef41ae6c3be7f0894479f3dd4fe34d5





Thanks,
Zhanghong Tang



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/How-to-insert-a-list-of-edges-into-surface-mesh-tp4657779.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



--
===================================================================
Guillaume DAMIAND

CNRS, LIRIS UMR 5205
Université Claude Bernard
Bâtiment Nautibus (710)
43 Boulevard du 11 Novembre 1918
69622 Villeurbanne Cedex (France)
-------------------------------------------------------------------
Phone: +33 (0)4.72.43.26.62 Fax: +33 (0)4.72.43.15.36
Mail:

===================================================================




Archive powered by MHonArc 2.6.18.

Top of Page