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 13:41:19 +0000
  • Accept-language: en-US, de-AT
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:cAoKORSMH3Ycst4NmJboBGFzItpsv+yvbD5Q0YIujvd0So/mwa65ZhON2/xhgRfzUJnB7Loc0qyN4vimAjdLv87JmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/mj6bpoNaNO01hv3mUWftKNhK4rAHc5IE9oLBJDeIP8CbPuWZCYO9MxGlldhq5lhf44dqsrtY4q3wD86FpyshbTK+vf7gkVacKS3M9ImUt7YvqswPCRE2B/DwHQ2AOm11JBQbCqxr1V5O0virhvfdmw3qmOpi8Rr89XXGu7rxgVQTzoCYBLT8wtm/NwIQkh61SpFetpgd03pXPSICTLvt3OK3HK4A0X21EC+lLRSFOBZmuJ6kmJc4mG917jsGpqEEcoBS5HxvqBurlzjhOnXz39awhz6IoGkfPwFpzTJo1rH3IoYCtZ+8pWuevwfyQwA==

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

In file included from /home/grzegorz/work/delaunay/example.cpp:5:0:
/home/grzegorz/work/CGAL-4.8/include/CGAL/Alpha_shape_2.h: In instantiation
of ‘class
CGAL::Alpha_shape_2<CGAL::Periodic_2_Delaunay_triangulation_2<CGAL::Periodic_2_triangulation_traits_2<CGAL::Epeck>,

CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Epeck,
CGAL::Triangulation_vertex_base_with_info_2<unsigned int, CGAL::Epeck> >,
CGAL::Alpha_shape_face_base_2<CGAL::Epeck> > > >’:
/home/grzegorz/work/delaunay/example.cpp:19:16: required from here
/home/grzegorz/work/CGAL-4.8/include/CGAL/Alpha_shape_2.h:107:13: error: no
members matching
‘CGAL::Periodic_2_Delaunay_triangulation_2<CGAL::Periodic_2_triangulation_traits_2<CGAL::Epeck>,

CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Epeck,
CGAL::Triangulation_vertex_base_with_info_2<unsigned int, CGAL::Epeck> >,
CGAL::Alpha_shape_face_base_2<CGAL::Epeck> > >::OUTSIDE_CONVEX_HULL’ in
‘class
CGAL::Periodic_2_Delaunay_triangulation_2<CGAL::Periodic_2_triangulation_traits_2<CGAL::Epeck>,

CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Epeck,
CGAL::Triangulation_vertex_base_with_info_2<unsigned int, CGAL::Epeck> >,
CGAL::Alpha_shape_face_base_2<CGAL::Epeck> > >’
using Dt::OUTSIDE_CONVEX_HULL;
^
/home/grzegorz/work/CGAL-4.8/include/CGAL/Alpha_shape_2.h:108:13: error: no
members matching
‘CGAL::Periodic_2_Delaunay_triangulation_2<CGAL::Periodic_2_triangulation_traits_2<CGAL::Epeck>,

CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Epeck,
CGAL::Triangulation_vertex_base_with_info_2<unsigned int, CGAL::Epeck> >,
CGAL::Alpha_shape_face_base_2<CGAL::Epeck> > >::OUTSIDE_AFFINE_HULL’ in
‘class
CGAL::Periodic_2_Delaunay_triangulation_2<CGAL::Periodic_2_triangulation_traits_2<CGAL::Epeck>,

CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Epeck,
CGAL::Triangulation_vertex_base_with_info_2<unsigned int, CGAL::Epeck> >,
CGAL::Alpha_shape_face_base_2<CGAL::Epeck> > >’
using Dt::OUTSIDE_AFFINE_HULL;


Best,
Grzegorz
________________________________________
From:


[]
on behalf of Marc Glisse
[]
Sent: Saturday, July 09, 2016 12:07 PM
To:

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

On Sat, 9 Jul 2016, Grzegorz JABLONSKI wrote:

> The same error occurs, when I use Alpha_shape_vertex_base_2:

Please don't post those random lists of typedefs, always post a MCVE
(minimum complete verifiable example), that is:
* include the #includes and the instanciation (I should be able to
copy-paste, compile, and immediatly get the same error)
* remove anything irrelevant like Point

You still don't seem to be using Alpha_shape_vertex_base_2, the Vb typedef
is not used anywhere.

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