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 19:17:29 +0000
  • Accept-language: en-US, de-AT
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:BeaKohDTC7hpACZB9+TqUyQJP3N1i/DPJgcQr6AfoPdwSP/5rsbcNUDSrc9gkEXOFd2CrakV06yN6Ou5Az1IyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBybrysXNWD14LsjKvrocybSj4LrQL1Wal1IhSyoFeZnegtqqwmFJwMzADUqGBDYeVcyDAgD1uSmxHh+pX4p8Y7oGwD888n7NNKBKXmY7wjH/sfFyUjK2lz5cvxtBCFQxHI/WoZSmxRkxxGBE/O4xj+G5vwqSDnrfEu5C7Pd8b5RLRxVTW55LpwUzfpjj0GPng36iuf3sd/haYerBO6rAFk2KbVZpuUPbxwZPWOU8kdQD9uRNRcWCtbEMueRqErKMw6HscQ+4bntVYBqgGsQwulDufozCRLh1f3xrF82u9nGB2Qj19oJM4HrHmB9Ia9D6wVS+3glKQ=

Thanks!

Grzegorz Jablonski




On Sat, Jul 9, 2016 at 6:59 PM +0200, "Marc Glisse" <> wrote:

On Sat, 9 Jul 2016, Grzegorz JABLONSKI wrote:

> Ok, my mistake. Here is the complete code:
>
> #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::Triangulation_vertex_base_with_info_2<unsigned, K> Vb_info;
> 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, Fb>    Tds;
> typedef CGAL::Periodic_2_Delaunay_triangulation_2<GT, Tds>  PDT;
> typedef CGAL::Alpha_shape_2<PDT> Alpha_shape_2;
>
> int main()
> {
>        Alpha_shape_2 as;
> }
>
> This time there is a problem with    using Dt::OUTSIDE_CONVEX_HULL   in Alpha_shape_2.h

Thanks. Periodic_3_triangulation_3.h has:

     OUTSIDE_CONVEX_HULL, // unused, for compatibility with Alpha_shape_3
     OUTSIDE_AFFINE_HULL }; // unused, for compatibility with Alpha_shape_3

(not sure that's the best way to go about it, but as long as it works...)
and the 2D version doesn't. Don't hesitate to file an issue on github to
make sure this isn't forgotten (you could even try a pull request).

--
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