Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Collapse edge in Polyhedron_3
- Date: Mon, 20 Oct 2014 16:57:24 +0200
- Organization: GeometryFactory
On 10/20/2014 02:13 PM, Per Zetterlund wrote:
Hi all,You can either use the Surface mesh simplification package:
What's the best way to implement edge
collapsing in a (triangular) Polyhedron_3?
A straight forward way would be to use
join_vertex. But that doesn't work as it
doesn't work for triangles.
What I'm doing now is to remove a couple
of edges using join_facet to get quads, and
then I use join_vertex to collapse the edge
and then put the edges back using split_facet
to get the original structure. Is there a better
way?
/Per
http://doc.cgal.org/latest/Surface_mesh_simplification/index.html
or use the low-level function: CGAL::Euler::edge_collapse:
http://doc.cgal.org/latest/BGL/group__PkgBGLEulerOperations.html#gab97c0d071b0d768e22a4fc171a8ca664
Sebastien.
- [cgal-discuss] Collapse edge in Polyhedron_3, Per Zetterlund, 10/20/2014
- Re: [cgal-discuss] Collapse edge in Polyhedron_3, Sebastien Loriot (GeometryFactory), 10/20/2014
- <Possible follow-up(s)>
- Re: [cgal-discuss] Collapse edge in Polyhedron_3, Liyang, 10/20/2014
Archive powered by MHonArc 2.6.18.