qhull version and wrapper

5 views (last 30 days)
Rodrigo
Rodrigo on 3 Jun 2013
Answered: Rodrigo on 16 Aug 2016
Hi, I've been playing around with regular tessellations and realized that R2013a seems to use a very old version of qhull. The qhull project website recommends upgrading to their 2012.1 version to avoid overflow problems, but I don't know how I would wrap such a complicated project in a mex file. The qhull.m file gives some indication, but is hardly detailed enough.
Thanks

Answers (1)

Rodrigo
Rodrigo on 16 Aug 2016
I'd like to bump this ancient question, but now with a new twist: mex wrapper with OpenMP. I need to compute the convexhulls of hundreds of thousands of configurations that include thousands of points, and parfor blows up my RAM.
Is it possible to run qHull, even as an external library, within a mex file that is running multiple threads? I'm not sure, but there seems to be reason to believe that memory allocation within mex files is not thread safe.
Thanks, Rodrigo

Categories

Find more on Voronoi Diagram in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!