Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: ju21 <>
  • To:
  • Subject: [cgal-discuss] Re: vertex_handle index of a Mesh_triangulation_3 element ??
  • Date: Tue, 24 Jul 2012 08:14:19 -0700 (PDT)


Op3rAtor wrote
>
> I think you have to specify the triangulation data structure (TDS -->
> Triangulation_data_structure_3.h) to make use of
> Triangulation_vertex_base_with_info_3. I dont know how to handle this in
> 3d but i already used this for 2d with Triangulation_data_structure_2.
> Just change the template parameter =)
>


It's the case when I do...

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

#include <CGAL/Triangulation_data_structure_3.h>
#include <CGAL/Triangulation_vertex_base_with_info_3.h>
#include <CGAL/Triangulation_cell_base_with_info_3.h>

// Triangulation data structure with info
typedef int Info;
typedef CGAL::Triangulation_vertex_base_with_info_3<Info, K> Vb;
typedef CGAL::Triangulation_cell_base_3<K> Cb;
typedef CGAL::Triangulation_data_structure_3<Vb, Cb> Tds;

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

isn't it ?



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



Archive powered by MHonArc 2.6.18.

Top of Page