I tried static_cast, but it didn't work (not sure why). C-style casting and reinterpret_cast worked though.
Huidae On Tue, Dec 25, 2018 at 5:16 PM Markus Neteler <nete...@osgeo.org> wrote: > On Thu, Dec 20, 2018 at 6:39 PM Huidae Cho <gras...@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 > -- Huidae Cho, Ph.D., GISP, PE (MD), CFM, M.ASCE Open Source GIS Developer, GRASS GIS Development Team
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev