Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Compiler error: no matching function for call to sqrt()

Subject: CGAL users discussion list

List archive

[cgal-discuss] Compiler error: no matching function for call to sqrt()


Chronological Thread 
  • From: "" <>
  • To:
  • Subject: [cgal-discuss] Compiler error: no matching function for call to sqrt()
  • Date: Tue, 8 Aug 2017 04:15:02 -0700 (PDT)
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Neutral ; spf=None
  • Ironport-phdr: 9a23:3NdZDRfDq9YoGS4GFYmegD5blGMj4u6mDksu8pMizoh2WeGdxcS4bR7h7PlgxGXEQZ/co6odzbGH4+a4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9GiTe5Yr5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+t6LtmRRHphSoDLjI17X3bgdF0gK9VvB6tuxlzzojJa4+XKfV+ZLvQc90aS2RfXchfSiNODZ+zYYYUE+oMP/xVo5Xhq1cSsxezAxSnCuP1yj9Pg3/7xaM20+Y7Hg7a3wwsBcgOsHXQrNrrNKYfSuK1zKnVzTrZd/NW3S3x55bVfRA8r/2HQLV9ccjLxkYzFAPJlE+QqY3hPzyL1uUAqGqb7+p9Ve21k24nrxt9rSayyccxk4TEgJ8exF7D9SV82ok1JNu4RVZ9YdG+C5RfrCWaOJVsTsw+RGFovSA3waAFt56jZCUG1ZUqywDFZ/CZc4WF7AjvWPufLDp2nn5od7yyiw6v/UWh1OHwTNe43VZEoyZfj9XBuH4A2wbT58WFTPZ2412v1iyV1w/J7+FJOUA0mrTfK54m2rMwk5QSsUPZHi/1gkn2irWZeV4/9eis9evreKnpppiZN4NsiwH+NLohmtCnDOglMwUCQXKX9fq82bDt50H1XbtHg/MsnqTWvp3WPcEbqbS4Aw9R3IYj8RG/DzK+3dQah3YIMFFFdAidj4joP1HBPvD5AOy9g1SsjTdk3ejGPrn7DprTM3fDja/tfaxh5E5E1Aoz0ddf6opIBbEOOv3zXlb9u8HZDh8iLwO03v3nCM5m24MFWWOPB7eZP7nIvV+J4OIvOeiMa5UPtDbzMfh2r8Lp2HQ2kFtYcaiy1oYMc1i5GO5nKgOXeynCmNAERC0ItwE9CvbrjFCTeTxTen+qW+Qx6ixxQNakBIzAAJqshLGQ9CW7A5ROYiZLBk3aQiSgTJmNR/pZMXHaGcRmiDFRDuD5Rg==

Hi

I am trying to compute the vertex normals for a surface mesh I have imported
but I receive the compiler error "no matching function for call to sqrt()"
when calling CGAL::Polygon_mesh_processing::compute_vertex_normals. I tried
to use the Exact_predicates_exact_constructions_kernel_with_sqrt, but that
does not seem to enable me to call the sqrt() function, compiling using
Simple_cartesian<double> has no issues. I chose the exact kernel because
ultimately I would like to do a number of boolean operations on the mesh and
an exact kernel is recommended.

What am I misunderstanding that I cannot use the kernel with sqrt to
calculate vertex normals? Is it possible to convert the mesh from the simple
cartesian kernel to the exact kernel after computing the normals just to
perform the boolean operations? Is that terribly inefficient?

Thanks,
Jack



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Compiler-error-no-matching-function-for-call-to-sqrt-tp4662890.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page