Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] vertex_handle index of a Mesh_triangulation_3 element ??

Subject: CGAL users discussion list

List archive

[cgal-discuss] vertex_handle index of a Mesh_triangulation_3 element ??


Chronological Thread 
  • From: ju21 <>
  • To:
  • Subject: [cgal-discuss] vertex_handle index of a Mesh_triangulation_3 element ??
  • Date: Mon, 23 Jul 2012 08:08:37 -0700 (PDT)

Hi everyone,


I have a *Mesh_triangulation_3* and a *Mesh_complex_3_in_triangulation_3*
structure. I can access to every cells and any vertex of a cell doing this :

/***************************************************************************/

Tr::Cell_iterator cit = t.cells_begin();
for( ; cit != t.cells_end() ; ++cit )
{
const Tr::Cell c( *cit );
const Tr::Vertex_handle vertex0 = c.vertex(0); // 0 for
example
}


/***************************************************************************/


But my problem is, how can I have the "global" index of a *vertex_handle* ?
I mean the index of a vertex among every vertices of the mesh... I think
that in the documentation, unfortunately I didn't find it

Thank you.


Julie



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/vertex-handle-index-of-a-Mesh-triangulation-3-element-tp4655511.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page