<div dir="ltr"><div>I tried static_cast, but it didn't work (not sure why). C-style casting and reinterpret_cast worked though.</div><div><br></div><div>Huidae<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Dec 25, 2018 at 5:16 PM Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Dec 20, 2018 at 6:39 PM Huidae Cho <<a href="mailto:grass4u@gmail.com" target="_blank">grass4u@gmail.com</a>> wrote:<br>
> Hello Martin,<br>
><br>
> I'm getting this error when compiling your v.delaunay3d addon with CGAL 4.13:<br>
><br>
> 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<br>
> T = new DelaunayTriangulation(points.begin(), points.end());<br>
><br>
> Maybe, simple type casting, but I'm not a C++ expert. Any idea?<br>
<br>
Perhaps you can get some ideas from this example?<br>
<br>
<a href="https://github.com/CGAL/cgal/blob/master/Triangulation_3/examples/Triangulation_3/simple_triangulation_3.cpp" rel="noreferrer" target="_blank">https://github.com/CGAL/cgal/blob/master/Triangulation_3/examples/Triangulation_3/simple_triangulation_3.cpp</a><br>
<br>
Markus<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span><div><div dir="ltr">Huidae Cho, Ph.D., GISP, PE (MD), CFM, M.ASCE<br>Open Source GIS Developer, GRASS GIS Development Team</div></div></span></div></div></div></div></div></div></div></div>