Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Parallel Delaunay triangulation construction. Compilation error.

Subject: CGAL users discussion list

List archive

[cgal-discuss] Parallel Delaunay triangulation construction. Compilation error.


Chronological Thread 
  • From: Илья Палачев <>
  • To:
  • Subject: [cgal-discuss] Parallel Delaunay triangulation construction. Compilation error.
  • Date: Fri, 23 Jan 2015 19:15:22 +0300
  • Envelope-from:

Hi, all.

I'm using example Triangulation_3/parallel_insertion_in_delaunay_3.cpp.
The code that is used looks as follows:

#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel;

#include <CGAL/Delaunay_triangulation_3.h>
typedef CGAL::Triangulation_data_structure_3<
        CGAL::Triangulation_vertex_base_3<Kernel>,
        CGAL::Triangulation_cell_base_3<Kernel>,
        CGAL::Parallel_tag> Tds;
typedef CGAL::Delaunay_triangulation_3<Kernel, Tds> Delaunay;

void foo()
{
        auto pointsHigher = getShiftedDualPoints(data, epsilon);

        Delaunay::Lock_data_structure locking_ds(CGAL::Bbox_3<Kernel>(-1000.,
-1000., -1000., 1000., 1000., 1000.), 50);
        Delaunay triangulation(pointsHigher.begin(), pointsHigher.end(),
                        &locking_ds);
}

The compiler fails with the following error:

error: variable or field ‘locking_ds’ declared void
  Delaunay::Lock_data_structure locking_ds(CGAL::Bbox_3(-1000., -1000.,
-1000., 1000., 1000., 1000.));

Is it a known issue?

--
Thanks in advance,
Ilya Palachev



Archive powered by MHonArc 2.6.18.

Top of Page