Subject: CGAL users discussion list
List archive
- From: "Shi Yan" <>
- To:
- Subject: [cgal-discuss] Re: how to remove a vertex from a polyhedron.
- Date: Thu, 21 Aug 2008 18:14:41 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=qqSZ5PzSpPEDempfoIysMwakDusVhMxGJH+3BMsfEjER7+AeM8iW2zkXgkaejEzR6g n7W+4Xt66nldcciBG2H7TC+LJLbZRn3AvcFi4bK8iXZo40OIqQdpPLDgF1wJXt4eUaS5 t4F1qfo/+6G+r/OAcsndsmLa15fk/r5iTuK/w=
so this is how i do vertex removal:
i hacked the polyhedron_3.h and added this function
void eraseIsolatedVertex(Vertex_handle v)
{
HalfedgeDS_decorator<HDS> D(hds);
CGAL_precondition(v->halfedge()==0);
D.vertices_erase(v);
}
i don't think this is the right way to do this. but this is the only
way i can think of.
On Thu, Aug 21, 2008 at 4:43 PM, Shi Yan
<>
wrote:
> hello guys,
>
> i have some isolated vertices in my polyhedron model that link to no
> half-edges. now i want to remove them. but it seems that cgal has no
> vertex erase function. so how should i do that ? thank you very much.
>
- [cgal-discuss] how to remove a vertex from a polyhedron., Shi Yan, 08/22/2008
- [cgal-discuss] Re: how to remove a vertex from a polyhedron., Shi Yan, 08/22/2008
- Re: [cgal-discuss] Re: how to remove a vertex from a polyhedron., Peter Hachenberger, 08/22/2008
- Re: [cgal-discuss] Re: how to remove a vertex from a polyhedron., Shi Yan, 08/23/2008
- Re: [cgal-discuss] Re: how to remove a vertex from a polyhedron., Andreas Fabri, 08/23/2008
- Re: [cgal-discuss] Re: how to remove a vertex from a polyhedron., Shi Yan, 08/24/2008
- Re: [cgal-discuss] Re: how to remove a vertex from a polyhedron., Andreas Fabri, 08/23/2008
- Re: [cgal-discuss] Re: how to remove a vertex from a polyhedron., Shi Yan, 08/23/2008
- Re: [cgal-discuss] Re: how to remove a vertex from a polyhedron., Peter Hachenberger, 08/22/2008
- [cgal-discuss] Re: how to remove a vertex from a polyhedron., Shi Yan, 08/22/2008
Archive powered by MHonArc 2.6.16.