-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cast from Exact_predicates_exact_constructions_kernel to Exact_predicates_exact_constructions_kernel_with_sqrt #1873
Comments
Meanwhile, I figured out an insane way to do it:
This indeed prints:
Converting via |
Here is a working example using the
Note that I have hardcoded the number types of the Kernel (they might change if you do not use GMP). |
Thanks, this seems to solve my issue. Should I interpret "trigger the exact computation" as "trigger slow performance" ? I have an algorithm where the bulk of the computation can be done using CGAL::Epeck and I only need sqrts at the end. In general, am I better off using |
I don't think using |
Is it possible to convert a number/geometry object from the
CGAL::Exact_predicates_exact_constructions_kernel
to theCGAL:: Exact_predicates_exact_constructions_kernel_with_sqrt
?For a miniature example, consider the following non-working code:
This produces a compilation error:
In my case, I do not need to go in the other direction:
CGAL::Exact_predicates_exact_constructions_kernel_with_sqrt
toCGAL::Exact_predicates_exact_constructions_kernel
.The text was updated successfully, but these errors were encountered: