Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Polyhedron.erase_connected_component

Subject: CGAL users discussion list

List archive

[cgal-discuss] Polyhedron.erase_connected_component


Chronological Thread 
  • From: "Jens K. Becker" <>
  • To:
  • Subject: [cgal-discuss] Polyhedron.erase_connected_component
  • Date: Tue, 19 May 2009 21:43:59 +0200

Hi all,

Does the erase_connected_component function for a Polyhedron delete just
the halfedge it is passed, the vertex the halfedge points to and the
facet or does it really delete everything that is connected to the
halfedge?

For example:

if(p.is_closed())
p.erase_connected_component(p.halfedges_begin());

would delete the whole polyhedron?

If not my code is wrong, if yes I misunderstood the function...

Thanks for any help,

Jens Becker





Archive powered by MHonArc 2.6.16.

Top of Page