[GRASS-dev] v.delaunay3d error

Markus Neteler neteler at osgeo.org
Tue Dec 25 14:16:16 PST 2018


On Thu, Dec 20, 2018 at 6:39 PM Huidae Cho <grass4u at gmail.com> wrote:
> Hello Martin,
>
> I'm getting this error when compiling your v.delaunay3d addon with CGAL 4.13:
>
> main.cpp:106:11: error: cannot convert 'DelaunayTriangulation* {aka CGAL::Delaunay_triangulation_3<CGAL::Epick>*}' to 'Triangulation* {ask CGAL::Triangulation_3<CGAL::Epick>*}' in assignment
>     T = new DelaunayTriangulation(points.begin(), points.end());
>
> Maybe, simple type casting, but I'm not a C++ expert. Any idea?

Perhaps you can get some ideas from this example?

https://github.com/CGAL/cgal/blob/master/Triangulation_3/examples/Triangulation_3/simple_triangulation_3.cpp

Markus


More information about the grass-dev mailing list