Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Problem with make_regular_prism

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Problem with make_regular_prism


Chronological Thread 
  • From: Ben Laurie <>
  • To:
  • Subject: Re: [cgal-discuss] Problem with make_regular_prism
  • Date: Sun, 13 Dec 2020 21:48:03 +0000
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:X4QqjRSYsf/wKKTaVMNTrtxIWNpsv+yvbD5Q0YIujvd0So/mwa67ZBSPt8tkgFKBZ4jH8fUM07OQ7/m/HzVQv93Y6S5KWacPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3wOgVvO+v6BJPZgdip2OCu4Z3TZBhDiCagbb9oIxi6sAfcutMLjYZhK6s9xQbFrmZJdu9L2W5mOFWfkgrm6Myt5pBj6SNQu/wg985ET6r3erkzQKJbAjo7LW07/dXnuhbfQwSB4HscSXgWnQFTAwfZ9hH6X4z+vTX8u+FgxSSVJ8z2TbQzWTS/86dmTQLjhSkbOzIl9mzcl8p9h79Zrh28vRxy24HbYI+XO/R+cK3Tfs4US3RdUctKTSNNHpmxYpETA+YdP+tVqZT2qVsUrRu5AAmhHP7ixSFOhnTr26M1yfkhERvH3AM+AtkDt2/bo8vzNKoJVeC1za/IzTbYb/9M3jf98ofIfwknrPqRUr1+bdDfxlMzFwPZkFqQs4rlMiuU2+kTsmWW4ORtWf+thmAptQ1/oiSjy8Qih4fHmo4Z1E7I+Cp4zYs2ONG0VUB2bMCqHZVfqy2UOYV7T94sTWxrvisx17MIuZm+fCcQyZQnwQbSa/OGc4iU4hLjSf2eLS1ki3JifbKznxey8U66yu39TMa4ylhKrjBDn9LRtX4NzwTe5tabRvZ55Eus2jaC2xrO5uxFI004j7fXJpwiz7M2i5Edq17MHjXsl0XzlKKWdlsr+uyv6+n/Z7XpvJ6cN4tthgH5M6Qih9WzAeolPgUMXGWX4+u81Lrk/U32RLVFkOc6nbXesJDfPcgbp6i5DBFJ0os79RqzEzOr3M4bkHQHNl5JZROKgorzN13TIv31Du+zg1G2nzdqw/DGMKfhApLILnXbi7juY7B960pGxwou19Bf5oxbB6oOIPL2QEDxtdjYAgUlPAyzxubrEM992Z8GWWKTHq+ZN7vfvkOH5u01J+mAfZIauDfmK/c5+v7ulmQ5lEQGfaip2JsXcGq3Eu5nI0Wfe3rsg80OHX0EvgokH6TXjkafW2tTe2qqRPB7oSoqDZqvS4bFXIGkxrKbmzyqG4VfIWFABFfLGnjhc8CIWuwHdTmJcfJniSEOdaSkT9ohyQ22r129jKF2K/LdvCwer5PqktZvoPbCkAk7sj1yAcPa2G6ESyR4n3gDWiQtj515ulF39lqTzf14n+BADo4UoOhYVx8zc5/a1e1zTd7oHRnQe8+AD1egTNLhCj44Spc9wsQFfl1mSOml2xvM1i7vD74OnKGQH7Q19Ljd1j7/PZVT0XHDgYMsiRECS9ZVNGDu0qRy8SDXBojKiAOejan8JvdU5zLE6GrWlTnGh0pfSgMlCfyYD0BaXVPfqJHC3m2HT7KqDu55YA5IyMrHLaoTL9Ow0gUAS/DkN9DTJWm2njXoXEra9va3dIPvPl4l8mDFEkFdylIX/HCFLk45HCjz+zuPXgwrLkrmZgbXycc7rXq6SkEuyATTNh9u0rO0/lgegvnOEv4=

https://github.com/CGAL/cgal/pull/5274

On Fri, 11 Dec 2020 at 08:28, Sebastien Loriot <> wrote:
It indeed seems to be the only solution if you want to use a Kernel with
a non-floating point FT.
If you have time to prepare a PR, we could integrate that change then.

Best,

Sebastien.

On 12/10/20 12:54 PM, Ben Laurie wrote:
> 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(),
>
> I can fix it using to_double() inside the call to cos() but wondering
> if I should be doing something else?
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





Archive powered by MHonArc 2.6.19+.

Top of Page