Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: Re[cgal-discuss] gular_triangulation_vertex_base_3
- Date: Mon, 09 Nov 2009 09:28:17 +0100
Hi again,
Forget my previous mail. I mixed the 2D with the 3D case.
It was neverthless, partially right, as in 3D you need
#include <CGAL/Regular_triangulation_cell_base_3.h>
and you have to typedef
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Regular_triangulation_filtered_traits_3<K> Gt;
typedef CGAL::Triangulation_vertex_base_with_info_3<CGAL::Color,Gt> Vb;
typedef CGAL::Regular_triangulation_cell_base_3<Gt> Cb;
typedef CGAL::Triangulation_data_structure_3<Vb,Cb> Tds;
typedef CGAL::Regular_triangulation_3<Gt,Tds> Rt;
andreas
Andreas Fabri wrote:
sara_mahdavi wrote:
hi,
please tell me that how to use it possible to make regular triangulation3D
with info?
I used :
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Regular_triangulation_filtered_traits_3<K> Gt;
typedef CGAL::Triangulation_vertex_base_with_info_3<CGAL::Color,Gt> Vb;
typedef CGAL::Triangulation_data_structure_3<Vb> Tds;
typedef CGAL::Regular_triangulation_3<Gt,Tds> Rt;
Please tell me what should I use?
thanks,
Hi Sara,
Add these includes
#include <CGAL/Regular_triangulation_face_base_2.h>
#include <CGAL/Regular_triangulation_vertex_base_2.h>
and blend them in as follows:
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Regular_triangulation_filtered_traits_3<K> Gt;
typedef CGAL::Regular_triangulation_vertex_base_2<Gt> Vbb;
typedef CGAL::Triangulation_vertex_base_with_info_3<CGAL::Color,Gt,Vbb> Vb;
typedef CGAL::Regular_triangulation_face_base_2<Gt> Fb;
typedef CGAL::Triangulation_data_structure_3<Vb,Fb> Tds;
typedef CGAL::Regular_triangulation_3<Gt,Tds> Rt;
andreas
- Re[cgal-discuss] gular_triangulation_vertex_base_3, sara_mahdavi, 11/07/2009
- Re: Re[cgal-discuss] gular_triangulation_vertex_base_3, Olivier Devillers, 11/08/2009
- Re: Re[cgal-discuss] gular_triangulation_vertex_base_3, sara_mahdavi, 11/08/2009
- Re: Re[cgal-discuss] gular_triangulation_vertex_base_3, Andreas Fabri, 11/09/2009
- Re: Re[cgal-discuss] gular_triangulation_vertex_base_3, Andreas Fabri, 11/09/2009
- Re: Re[cgal-discuss] gular_triangulation_vertex_base_3, Olivier Devillers, 11/08/2009
Archive powered by MHonArc 2.6.16.