Subject: CGAL users discussion list
List archive
- From: Winnie Hellmann <>
- To:
- Subject: [cgal-discuss] Vertex_handle in Vertex-Info
- Date: Fri, 28 Oct 2011 14:19:06 +0200
Hi everybody,
I need to use triangulation vertex handles in the attached info structure. So what I want to do is something like this:
struct Vertex_info
{
typename Triangulation::Vertex_handle the_handle;
};
typedef CGAL::Triangulation_euclidean_traits_2<Kernel> Traits;
typedef CGAL::Triangulation_vertex_base_with_info_2<Vertex_info, Kernel> Vertex_base;
typedef CGAL::Constrained_triangulation_face_base_2<Kernel> Face_base;
typedef CGAL::Triangulation_data_structure_2<Vertex_base,Face_base> Data_structure;
typedef CGAL::No_intersection_tag Itag;
typedef CGAL::Constrained_Delaunay_triangulation_2<Traits, Data_structure, Itag> Triangulation;
Unfortunately Triangulation is not known when defining Vertex_info. Currently I am messing around with pointers (which is really ugly combined with template-stuff!). Is there a nice solution for this? For example can I somehow rebind the vertex info?
Thanks,
Winnie Hellmann
- [cgal-discuss] Vertex_handle in Vertex-Info, Winnie Hellmann, 10/28/2011
- Re: [cgal-discuss] Vertex_handle in Vertex-Info, Andreas Fabri, 10/28/2011
- Re: [cgal-discuss] Vertex_handle in Vertex-Info, Winnie Hellmann, 10/28/2011
- [cgal-discuss] Insertion in Constrained_Delaunay_triangulation_2, Winnie Hellmann, 10/28/2011
- Re: [cgal-discuss] Insertion in Constrained_Delaunay_triangulation_2, Andreas Fabri, 10/28/2011
- Re: [cgal-discuss] Insertion in Constrained_Delaunay_triangulation_2, Winnie Hellmann, 10/28/2011
- Re: [cgal-discuss] Insertion in Constrained_Delaunay_triangulation_2, Andreas Fabri, 10/28/2011
- Re: [cgal-discuss] Insertion in Constrained_Delaunay_triangulation_2, Sylvain Pion, 10/28/2011
- Re: [cgal-discuss] Insertion in Constrained_Delaunay_triangulation_2, Andreas Fabri, 10/28/2011
- Re: [cgal-discuss] Insertion in Constrained_Delaunay_triangulation_2, Winnie Hellmann, 10/28/2011
- Re: [cgal-discuss] Insertion in Constrained_Delaunay_triangulation_2, Andreas Fabri, 10/28/2011
- [cgal-discuss] Insertion in Constrained_Delaunay_triangulation_2, Winnie Hellmann, 10/28/2011
- Re: [cgal-discuss] Vertex_handle in Vertex-Info, Winnie Hellmann, 10/28/2011
- Re: [cgal-discuss] Vertex_handle in Vertex-Info, Andreas Fabri, 10/28/2011
Archive powered by MHonArc 2.6.16.