Warning, /include/libqhull/DEPRECATED.txt is written in an unsupported language. File is not indexed.
0001
0002 qhull/src/libqhull
0003
0004 This directory contains the non-reentrant version of qhull, libqhull.
0005
0006 New code should use the reentrant version of qhull (libqhull_r).
0007 It allows multiple instances of qhull to run at the same time. On
0008 modern architectures, it is nearly as fast as libqhull.
0009
0010 Qhull programs may be built with either library. Each program has a
0011 reentrant version (e.g., qconvex_r.c) and a non-reentrant
0012 version (qconvex.c). The programs, rbox, qconvex, qdelaunay, qhalf,
0013 and qvoronoi, are built with libqhull. The qhull program is built
0014 with libqhull_r.
0015
0016 Qhull's C++ interface requires libqhull_r. If you previously used the
0017 C++ interface with libqhull, you will need to update your code to libqhull_r.
0018 See qh-code.htm#convert and Changes.txt for suggestions.
0019
0020 The C code in libqhull looks unusual because of the 'qh' macro. The 'qh'
0021 macro controls access to Qhull's global data structure, qhT. If
0022 'qh_QHpointer' is defined, 'qh' is 'qh_qh->' and 'qh_qh' is defined as
0023 'qhT *qh_qh', otherwise 'qh' is 'qh_qh.' and 'qh_qh' is defined as
0024 'qhT qh_qh'. This allows dynamic allocation of qh_qh without modifying
0025 the code. Reentrant Qhull is a better solution.
0026
0027 libqhull will be supported indefinitely. The qh_QHpointer variation
0028 of libqhull will be not be retested each release. It is replaced by
0029 libqhull_r.
0030