Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Re: vertex_handle index of a Mesh_triangulation_3 element ??
Chronological Thread
- From: Monique Teillaud <>
- To:
- Subject: Re: [cgal-discuss] Re: vertex_handle index of a Mesh_triangulation_3 element ??
- Date: Tue, 24 Jul 2012 17:26:09 +0200
Le 24/07/12 17:14, ju21 a écrit :
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 ?
no, since you don't plug the TDS into the triangulation
You wrote in your previous email:
===
typedef CGAL::Triangulation_3<K> Triangulation;
===
which means that the default TDS parameter is used.
--
Monique Teillaud
INRIA Sophia Antipolis - Méditerranée
http://www.inria.fr/sophia/members/Monique.Teillaud/
- [cgal-discuss] vertex_handle index of a Mesh_triangulation_3 element ??, ju21, 07/23/2012
- Re: [cgal-discuss] vertex_handle index of a Mesh_triangulation_3 element ??, Olivier Devillers, 07/24/2012
- [cgal-discuss] Re: vertex_handle index of a Mesh_triangulation_3 element ??, ju21, 07/24/2012
- [cgal-discuss] Re: vertex_handle index of a Mesh_triangulation_3 element ??, ju21, 07/24/2012
- [cgal-discuss] Re: vertex_handle index of a Mesh_triangulation_3 element ??, Op3rAtor, 07/24/2012
- [cgal-discuss] Re: vertex_handle index of a Mesh_triangulation_3 element ??, ju21, 07/24/2012
- Re: [cgal-discuss] Re: vertex_handle index of a Mesh_triangulation_3 element ??, Monique Teillaud, 07/24/2012
- [cgal-discuss] Re: vertex_handle index of a Mesh_triangulation_3 element ??, Op3rAtor, 07/24/2012
- [cgal-discuss] Re: vertex_handle index of a Mesh_triangulation_3 element ??, ju21, 07/24/2012
- [cgal-discuss] Re: vertex_handle index of a Mesh_triangulation_3 element ??, Op3rAtor, 07/24/2012
- Re: [cgal-discuss] vertex_handle index of a Mesh_triangulation_3 element ??, Olivier Devillers, 07/24/2012
Archive powered by MHonArc 2.6.18.