Subject: CGAL users discussion list
List archive
- From: Ben Laurie <>
- To:
- Subject: [cgal-discuss] Problem with make_regular_prism
- Date: Thu, 10 Dec 2020 11:54:29 +0000
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:1rncchaKCVru6fGNlTqpcz//LSx+4OfEezUN459isYplN5qZoMu4bnLW6fgltlLVR4KTs6sC17OJ9fmwASdavd6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vLhi6txjdu8oKjYdtNKo8xQbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDM/7WrZiNF/jLhDrR2upxJxzY3abpyLOvViZa7SZ88WSHBbU8pNSyBMAIWxZJYPAeobOuZYqpHwqkYQohu4GAKiAvngyiJShn/3w6IxzuMsHhrY0wwmBN8OtHXUrNP2NKcJS+y1y7PIzTraYv5QxDzy55TGfAo7rvGQQbJ/b9DRyU83Gg7Fjludq4LrMj2I2+gTr2WV4fZsW+yuhmI6pA98oDihy8cuh4TGiYwYyV/K+yp5zYsoJtC2R1N3bNy5HJZftCyXMZZ9TMA6Q2xwpio21rkLtYS4cSUK0pgr2QPTZ+Cdf4WH4R/uUvuaLy1ii3J/Yr2/gg6/8Ui+xe34Ucm5yFNKoTBEktnIr3wN0ADT5tWeRvtz8Uqs2iyD1w/U6uFDLkA0kbTUJ4Q9zb43k5ofqUXDHinol0XqlKKaaFko9+yy5+nkYrjqvIGQO5Johg3kPakjmdSzAeEiPQgPW2ib9/681Lrm/UDhW7pFkPs2kq3Dv5DHP8Qbp7C2DhRa0oYm8Rm/DjOm3M4EknkAKVJJYAiHgJTxO1HSPPD4Cu+yjEijkDhxw/DKJ6DuApTWLnffjbfhZq195lVHyAszyNBf/4hbBqsAIPL1QE/xtcbXAgU3MwyukK7bD4B22YoaHG6OGaSEK7j6sFmS5+tpLfPfSpUSvWPXJv5tw/fzl3400QsXcK+B2ZoRa2v+Ge5pdRbKKUHwi8sMRD9Z9jE1S/bn3QXbDWxjIk2qVqd53QkVTZq8BN6aFISshr+amiChEc8OPzEUOhW3CX7tMr68dbIJYSOWLNVml2VdB7ekQo4lkxqpsV2jkuc1Hq/v4iQd8Knb+p116unUz0xg8DV1C4GazzjIQT0k2GwPQDAy0eZ0pkkvklo=
I thought I had mentioned this before, but I can't find evidence of it.
I get this error (tested with 5.0.3):
//home/ben/local/include/CGAL/boost/graph/generators.h:592:29: error: use of
overloaded operator '*' is ambiguous (with operand types 'typename
boost::graph_traits<Surface_mesh<Point_3<Epeck> > >::vertices_size_type'
(aka 'unsigned int') and 'const FT' (aka 'const
Lazy_exact_nt<boost::multiprecision::number<boost::multiprecision::backends::gmp_rational,
boost::multiprecision::et_on> >'))
P(0.5*diameter*cos(i*precision*to_rad)+base_center.x(),
overloaded operator '*' is ambiguous (with operand types 'typename
boost::graph_traits<Surface_mesh<Point_3<Epeck> > >::vertices_size_type'
(aka 'unsigned int') and 'const FT' (aka 'const
Lazy_exact_nt<boost::multiprecision::number<boost::multiprecision::backends::gmp_rational,
boost::multiprecision::et_on> >'))
P(0.5*diameter*cos(i*precision*to_rad)+base_center.x(),
I can fix it using to_double() inside the call to cos() but wondering if I should be doing something else?
- [cgal-discuss] Problem with make_regular_prism, Ben Laurie, 12/10/2020
- Re: [cgal-discuss] Problem with make_regular_prism, Sebastien Loriot, 12/11/2020
- Re: [cgal-discuss] Problem with make_regular_prism, Ben Laurie, 12/13/2020
- Re: [cgal-discuss] Problem with make_regular_prism, Sebastien Loriot, 12/11/2020
Archive powered by MHonArc 2.6.19+.