Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Compiler error: no matching function for call to sqrt()
- Date: Tue, 8 Aug 2017 13:27:39 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:nX97vxcZQMT5JsbtghdrAI59lGMj4u6mDksu8pMizoh2WeGdxcS9Zx7h7PlgxGXEQZ/co6odzbGH4+a4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9GiTe5Yr5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM37X/ZisJwgqJcoxyvqRJwzIHWb46JO/RzZb/dcNEASGZdQspcWSxMD4WhZIUPFeoBOuNYopHzq1UTsxSxHhOjBPjzyj9JmHD227Ax3eImEQHc3QwgGM4Ou2nQoNv0KqgSVuW1w7fUzTXZb/JY2S3y55TUchAmu/GNXbd8fcTMwkQoDAPFilKQqZbkPzOSyuQBqW2b7+57WOKgjm4osQBxojy1ysgwjYnJg5sYx1bZ/it3x4Y1IMe3SE99YdO8FptfrTqVOJByQsw8WW1npCE6yrgetZGncygF0pAnywTYa/ydfIiF5A/oWuWJITpgmn5pZLayiwyx/EWg0OHwS9e43VVQoiZYk9TBsmgB2h7Q58SdVPdw8Uas1SyS2w3X5OxIO0I5mKrdJpU82LA/jIATvl7GHiLumEX5kquWdkI89+it8evnY7HmqoaSNo9ulg3yK6oultG+DOk8KAQOUG+b+eOz1L3n40L1WqlFjvozkqXBsZDaI9oUprKhDgNLzoou7wyzAjSm3dgCgHULMlFIdAiag4XoP1zCOPX4Au2+g1Sonjdr3ffGPrj5D5XWKnjDl63hfbd6605A0gYzyNRf6olbCrEEOv3zW0vxuMbEAR8+Ngy42/znB8ll1oMCRWKPBbeUP7/dsVCS4uIjOvSDZI4OuDnhNvgl/OXugGQimV4deKmpxYEYZGq5HvRgOUWZYGDjjs0PEWcQ7UICS7nhh1SGFDJSfH2vRLkU5zchCYvgA52QaJqqhenL5yqxF4ZKZ21AQnSLC3bva83EdPoLbS+OON5PmzcYUqKwCsVpgQqqsxX7zKYhK+789SgRtJal399wsb6A3Sou/CB5WpzOm1qGSHt5yzsF
- Organization: GeometryFactory
On 08/08/2017 01:15 PM,
wrote:
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?
Which boolean operations are you talking about? Nef_3 or those through corefinement [1]?
For the latter a kernel with exact constructions is only needed if you
are doing consecutive operations.
Also the normal computation is not needed by Nef_3 nor the corefinement
operations.
Which CGAL version are you using? AFAIR the issue with normal
computations and EPECK were fixed a few releases back.
Sebastien.
[1] http://doc.cgal.org/latest/Polygon_mesh_processing/index.html#Coref_section
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.
- [cgal-discuss] Compiler error: no matching function for call to sqrt(), , 08/08/2017
- Re: [cgal-discuss] Compiler error: no matching function for call to sqrt(), Sebastien Loriot (GeometryFactory), 08/08/2017
- Re: [cgal-discuss] Compiler error: no matching function for call to sqrt(), , 08/08/2017
- Re: [cgal-discuss] Compiler error: no matching function for call to sqrt(), Sebastien Loriot (GeometryFactory), 08/08/2017
- Re: [cgal-discuss] Compiler error: no matching function for call to sqrt(), Sebastien Loriot (GeometryFactory), 08/08/2017
- Re: [cgal-discuss] Compiler error: no matching function for call to sqrt(), Sebastien Loriot (GeometryFactory), 08/08/2017
- Re: [cgal-discuss] Compiler error: no matching function for call to sqrt(), , 08/08/2017
- Re: [cgal-discuss] Compiler error: no matching function for call to sqrt(), Sebastien Loriot (GeometryFactory), 08/08/2017
Archive powered by MHonArc 2.6.18.