Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Boolean performance

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Boolean performance


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Boolean performance
  • Date: Fri, 20 Nov 2015 16:45:23 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:+cqHex2yxL2z2y2CsmDT+DRfVm0co7zxezQtwd8ZsekXLfad9pjvdHbS+e9qxAeQG96LtrQa1qGJ6OjJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd6PyZrqnL/ps7ToICx2xxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cY6Loc8dVdW/D6Y7ggVu4fSy83Nng8osztrxjKCwWVoWANV30f1RtODQ+C5x7zWtL9szDxq/FmixWdaMb5RLRxVTW55LpwUzfpjj0GPng36jL5kMt12ehgrRiovAB+zoicRIaPNf1iNuPycNQfSHZbT+hYXDBGGJL9JcNbFO4GJ+dfs8/4o3MBqBK/AU+nA+a5mWwAvWP/waBvi7dpKgrBxgF1R98=
  • Organization: GeometryFactory

I don't know what you did but I tried within the polyhedron demo
and the union of 2 spheres made of 1280 triangles took 756 ms
on my laptop using nef with EPEC.

Sebastien.

On 11/20/2015 04:35 PM, Taus Møller wrote:
It did indeed cut about 3 seconds of the boolean operation with two
sphere. It is still very very slow though.

On 20 November 2015 at 08:47, Sebastien Loriot (GeometryFactory)
<>
wrote:
On 11/10/2015 10:49 AM, Taus Møller wrote:

I have implemented boolean operation using nef polyhedra. The
performance however leaves something to be desired. A simple union
between two spheres constructed from roughly 400 triangles each, take
almost 8 seconds to solve(in release mode). Is this expected or might
i be doing something to inhibit the performance. I am using an epec
kernel which i know might impact performance. I have however been
unable to get it working with other kernels. Even so, 8 seconds seems
excessive for a simple union.

Are there any obvious caveats i might be missing, or is simply the
time it takes with CGAL?


In some case EPEC is slower that using directly
CGAL::Simple_cartesian<CGAL::Lazy_exact_nt<CGAL:Gmpq> >.
You might want to give it a try.

Sebastien.

--
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.18.

Top of Page