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: Sebastien Loriot <>
  • To:
  • Subject: Re: [cgal-discuss] Problem with make_regular_prism
  • Date: Fri, 11 Dec 2020 09:28:21 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:8SWNsRKi+ImVccsrANmcpTZWNBhigK39O0sv0rFitYgXKvj7rarrMEGX3/hxlliBBdydt6sbzbOG6uu5ATxIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfLF/IA+roQjSq8UajpZuJroyxxDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKjg0+3zVhMNtlqJWuA+vqQJxw4DUY4+bOvRxcazfctwGSmRMRdpRWi9bD4+gc4cCAegMMOBFpIf9vVsOqh6+CBGxCuzx0TBHnGT23bE70+s/FwHNwQouH9UUsHTVq9X1KLoZXOeuzKnMyjXDdfJW2TDh6ITSdxAhpeqBXb11ccXLyEkvExnJgUmXqYzgJj6Y0PkGvGeH4eR6T+2vl3InpB9rojip3soglojEi58Lx13G6Sl03IY7KNKmRUB1fNOpEptduzyYOoZoTM4vX39ktSImxrAIuJO2fCgHxZclyhDRdvCKfZSF7xT+X+ifJjd4gWhqeLO5hxuq8EigzPf8Vsiu31pQoCpFiN/BvW0O2RzL8sWLVOdx80O71TuM1w3f8P9ILV4pmabBJJMsw6Y8moQJvkjfAyP7nVv5gLOMeUgh5OSk9/nrb7Doq5CGKYN4lgTzPrkylcOkH+s1NwkDU3SH9umz0bDs5k70TbBEg/IsnKnVrpbXLtkBqKGjGQ9ayIMj5g6/Dzi41NQYmmEKLFdfdxKGi4jlIl/PIOrlAfumjVShnzZmy+rJPr3mBZXNIXzDn6n7cblh7E5czRI/zdFZ551KFrEMOOz/VlP1udDCDRI0Mxa4z/j5BNlgzI8TVmOCDrecMKzIsF+I4uwvI/OLZI8QoDv9MPwl5/n0jX84nl8dYbOl3Z4TaH2jEfRmJl+WYXvogtsbDWgKuQ8+QPTwiFKeST5Te2qyX6Uk6z4nB4KpF4PDSpmwj7yAxye0AoBWZntdCl2XCnfpd4CEW+8WZy6II89hlCYEVbm7RIM72xGurlyy9rx8M+CB+jEErYmxk59u9ujLnFcz8yZ1BoKTySaWXmRslyQJQTExm6twqEg4xlaY2rVjmK9lE8dO7c9EQhtvNYLA1/coTJfpSwfZd5GITkynS5OoG3YqX9cpypgPZUh6XN6thxSG0yuxCKIOjO+3A8k//avYmnTwPM1g0G3u1a87jlBgTNEcG3ehg/tE+gLaHJLInkPRs6GwdKMAlHrW8GCZzG2S+kRceAF1WKTBG3sYYx2F/pzC+kreQur2WvwcOQxbxJvac/YYWpjSlVxDAczbFpHebma2wTriAB+JwvaTdtOvdTlDmiraD0cAnkYY+nPUbVFvVBfkmHrXCXlVLXyqZkrt9edkr3biFx07ygiLawtq0L/no0dJ18zZcOsa2/c/gAlksy99RQ/v0NffCt7GrA1kLv1R

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




Archive powered by MHonArc 2.6.19+.

Top of Page