Subject: CGAL users discussion list
List archive
- From: Guillaume Damiand <>
- To: "" <>
- Subject: Re: [cgal-discuss] how to do operation similar Polyhedron_3 join_loop
- Date: Sat, 19 Feb 2011 13:10:00 +0100
Splitting edges or vertices will introduce new vertices, however my requirment is just connecting the vertices on the two rings without introducing any new vertices. Besides, the two rings are disconnected to each other, how to build a halfedge connecting them at the first beginning please? If this could be done, then i believe the following connection operations can be implemented by using the functions such as split_vertex, split_edge and so on. This is not possible. By definition of half-edge data structure you can only connect couple of half-edges. Thus if your two cycles do not have the same number of half-edges, you can 1) add half-edges on the smaller cycle by using split-edge (or symmetrically remove some half-edges of the bigger cycle); 2) or create a new facet connected to the smaller one such that the boundary of the two facets has the same number of half-edges than the second facet, then you can connect the two components. Guillaume
-- =================================================================== Guillaume DAMIAND LIRIS UMR 5205 Université Claude Bernard Bâtiment Nautibus (710) 43 Boulevard du 11 Novembre 1918 69622 Villeurbanne Cedex (France) ------------------------------------------------------------------- Tél: +33 (0)4.72.43.26.62 Fax: +33 (0)4.72.43.15.36 Mail: =================================================================== |
- [cgal-discuss] how to do operation similar Polyhedron_3 join_loop, wangk0705, 02/18/2011
- Re: [cgal-discuss] how to do operation similar Polyhedron_3 join_loop, Sebastien Loriot (GeometryFactory), 02/18/2011
- Re: [cgal-discuss] how to do operation similar Polyhedron_3 join_loop, Kye Wong, 02/19/2011
- Re: [cgal-discuss] how to do operation similar Polyhedron_3 join_loop, Guillaume Damiand, 02/19/2011
- Re: [cgal-discuss] how to do operation similar Polyhedron_3 join_loop, Kye Wong, 02/19/2011
- Re: [cgal-discuss] how to do operation similar Polyhedron_3 join_loop, Guillaume Damiand, 02/19/2011
- Re: [cgal-discuss] how to do operation similar Polyhedron_3 join_loop, Kye Wong, 02/19/2011
- Re: [cgal-discuss] how to do operation similar Polyhedron_3 join_loop, Sebastien Loriot (GeometryFactory), 02/18/2011
Archive powered by MHonArc 2.6.16.