Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] connectivity of a tet mesh generated from image

Subject: CGAL users discussion list

List archive

[cgal-discuss] connectivity of a tet mesh generated from image


Chronological Thread 
  • From: Dominik Szczerba <>
  • To:
  • Subject: [cgal-discuss] connectivity of a tet mesh generated from image
  • Date: Thu, 9 Feb 2012 11:03:38 +0100

Hi,

I am generating a tet mesh directly from a segmented medical image
more or less like

C3t3 c3t3 = CGAL::make_mesh_3<C3t3>(domain, criteria);
const Tr& tr = c3t3.triangulation();

I am then converting it to another required representation more or less like:

for( Finite_vertices_iterator vit = tr.finite_vertices_begin();
vit != tr.finite_vertices_end();
++vit)
{
// get vertices
}

for( Cell_iterator cit = c3t3.cells_begin() ;
cit != c3t3.cells_end() ;
++cit )
{
// get cells
}

Now my question is: is there also cell connectivity (which cell has
which neighbours) available in c3t3 after the mesh has been created?
By "available" I mean that this information be already available for
quick extraction, I do NOT mean its dedicated (lengthy) computation
afterwards.

Many thanks for any insights.

--
Dominik



Archive powered by MHonArc 2.6.16.

Top of Page