Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Removing edges and facets from a 3d triangulation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Removing edges and facets from a 3d triangulation


Chronological Thread 
  • From: Olivier Devillers <>
  • To:
  • Subject: Re: [cgal-discuss] Removing edges and facets from a 3d triangulation
  • Date: Tue, 24 Jun 2014 17:32:56 +0200

Le 6/24/14 5:18 PM, colonel_panic a écrit :
Hi,

I am looking for a way to remove cells, facets and edges from a 3d
triangulation using CGAL. There are functions provided to remove vertices
but I would like to keep all of the vertices and do not want to
retriangulate them.
It is possible to add a boolean flag in the cell base class to indicate
whether it should be removed but because edges and facets are not explicitly
or uniquely represented i am having difficulty finding a way to remove them
from the triangulation.
Is there a way to remove facets and edges from the triangulation?

I do not know why you wnat such an operation,
in the internal representation there are cells and vertices, so the edges (and facets)
are just the edges of the cells, you cannot remove edges without removing cells.
And removing cells is not a good idea since you no longer have a valid triangulation.

May be, you could be happy by "marking"the edges or facets as inactive.



Archive powered by MHonArc 2.6.18.

Top of Page