Skip to Content.
Sympa Menu

cgal-discuss - RE: [cgal-discuss] Alpha_shape_2 using Periodic_2_Delaunay_Triangulation_2

Subject: CGAL users discussion list

List archive

RE: [cgal-discuss] Alpha_shape_2 using Periodic_2_Delaunay_Triangulation_2


Chronological Thread 
  • From: Grzegorz JABLONSKI <>
  • To: "" <>
  • Subject: RE: [cgal-discuss] Alpha_shape_2 using Periodic_2_Delaunay_Triangulation_2
  • Date: Sat, 9 Jul 2016 09:18:22 +0000
  • Accept-language: en-US, de-AT
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:TWnpahaZLUUyHK/qmedA/e7/LSx+4OfEezUN459isYplN5qZpM69bnLW6fgltlLVR4KTs6sC0LuO9fu7EjVaqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ3pzxjLv5osebSj4LrQL1Wal1IhSyoFeZnegtqqwmFJwMzADUqGBDYeVcyDAgD1uSmxHh+pX4p8Y7oGwD888n7NNKBKXmY7wjH/sfFyUjK2lz5cvxtBCFQxHI/WoZSmxRkxxGBE/O4xj+G5vwqSDnrfEu5C7Pd8b5RLRxVTW55LpwUzfpjj0GPng36iuf3sd/haYerBO6rAFk2KbVZpuUPbxwZPWOU8kdQD9uRNRcWCtbEMueRqErKMw6HscQ+4bntVYBqgGsQwulDufozCRLh1f3xrF82u9nGB2Qj19oJM4HrHmB9Ia9D6wVS+3glKQ=

The same error occurs, when I use Alpha_shape_vertex_base_2:

//**********TYPEDEFS********************
//
typedef CGAL::Exact_predicates_exact_constructions_kernel K;
typedef CGAL::Periodic_2_triangulation_traits_2<K> GT;
//typedef CGAL::Periodic_2_triangulation_vertex_base_2<GT> Vb_p;
//typedef CGAL::Triangulation_vertex_base_with_info_2<unsigned, GT, Vb_p>
Vb_info;
typedef CGAL::Triangulation_vertex_base_with_info_2<unsigned, K> Vb_info;
//typedef CGAL::Periodic_2_triangulation_face_base_2<GT> Fb;


typedef CGAL::Alpha_shape_vertex_base_2<K, Vb_info> Vb;
typedef CGAL::Alpha_shape_face_base_2<K>
Fb;

typedef CGAL::Triangulation_data_structure_2<Vb_info, Fb> Tds;
typedef CGAL::Periodic_2_Delaunay_triangulation_2<GT, Tds> PDT;
typedef PDT::Point Point;

Grzegorz
________________________________________
From:


[]
on behalf of Marc Glisse
[]
Sent: Friday, July 08, 2016 8:24 PM
To:

Subject: Re: [cgal-discuss] Alpha_shape_2 using
Periodic_2_Delaunay_Triangulation_2

On Fri, 8 Jul 2016, Grzegorz JABLONSKI wrote:

> I am trying to compile Alpha_shape_2 using
> Periodic_Delaunay_Triangulation_2. Here is code I use:
>
> // CGAL headers
> #include <CGAL/Exact_predicates_exact_constructions_kernel.h>
> #include <CGAL/Periodic_2_triangulation_filtered_traits_2.h>
> #include <CGAL/Periodic_2_Delaunay_triangulation_2.h>
> #include <CGAL/Triangulation_vertex_base_with_info_2.h>
> #include <CGAL/Alpha_shape_2.h>
>
> //Typedefs
> typedef CGAL::Exact_predicates_exact_constructions_kernel K;
> typedef CGAL::Periodic_2_triangulation_traits_2<K> GT;
> typedef CGAL::Periodic_2_triangulation_vertex_base_2<GT> Vb;
> typedef CGAL::Triangulation_vertex_base_with_info_2<unsigned, GT, Vb>
> Vb_info;
> typedef CGAL::Periodic_2_triangulation_face_base_2<GT> Fb;
> typedef CGAL::Triangulation_data_structure_2<Vb_info, Fb> Tds;
> typedef CGAL::Periodic_2_Delaunay_triangulation_2<GT, Tds> PDT;
> typedef PDT::Point Point;
> typedef PDT::Point Point_2;
>
> typedef CGAL::Alpha_shape_2<PDT> Alpha_shape_2;
>
> When I try to initialize Alpha_shape_2 object I get errors listed below.
> Any idea if what I'm trying to do is possible?

One thing that is suspicious is that you are not using
Alpha_shape_vertex_base_2.

--
Marc Glisse

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





Archive powered by MHonArc 2.6.18.

Top of Page