Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] how eliminate some tetrahedrons?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] how eliminate some tetrahedrons?


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] how eliminate some tetrahedrons?
  • Date: Thu, 22 Mar 2012 22:54:14 +0100

On 03/21/2012 05:04 PM, Juan Carlos Lopez Alfonso wrote:
Hi,
thank you for your answer, but this solution don't solve my problem,
because I need to iterate the set of tetrahedrons which are incident
in the infinite vertex. Some thing like this:

T.incident_cells(T.infinite_vertex(), std::back_inserter(infinite_cells));

and for this reason I need to eliminate some of them of the
triangulation in order to have other external tetrahedrons.

any other idea?
Maybe removing one on the two points that are too close from the triangulation?

Sebastien

Best Regards
Juan Carlos

On Wed, Mar 21, 2012 at 4:51 PM, Mariette Yvinec
<>
wrote:

One way to do it
is to instantiate the triangulation with
a base cell class of type Triangulation_cell_base_with_info_3
that supports additionnal information stored in the triangulation cells.
Then you may add a boolean in each cell
to mark tetrahedra inside/outside the domain of interest.


Le 21/03/12 12:32, Juan Carlos Lopez Alfonso a écrit :

Hi all,

I have a question related with a delaunay triangulation. I have
triangulated a set of points and I want to know how I can remove some
tetrahedrons of this triangulation.

For example I have the following triangulation: Delaunay T;
and I have iterated over all tetrahedrons and when one edge of one of
them is more than a defined threshold, I want to eliminate this
tetraheron of T. The idea is eliminate external tetrahedrons in order
to obtain a nonconvex domain triangulation. I need eliminate this
tetrahedrons of T, because I need to iterate the set of tetrahedrons
which are incident in the infinite vertex. Some thing like this:

T.incident_cells(T.infinite_vertex(), std::back_inserter(infinite_cells));

Is there any form to eliminate tetrahedrons of T?

Best regards
Juan Carlos


--
Mariette Yvinec
Geometrica project team
INRIA Sophia-Antipolis







Archive powered by MHonArc 2.6.16.

Top of Page