[10207] | 1 | <!-- Do not edit with Front Page, it adds too many spaces -->
|
---|
| 2 | <html>
|
---|
| 3 | <head>
|
---|
| 4 | <meta http-equiv="Content-Type"
|
---|
| 5 | content="text/html; charset=iso-8859-1">
|
---|
| 6 | <title>global.c -- global variables and their functions</title>
|
---|
| 7 | </head>
|
---|
| 8 |
|
---|
| 9 | <body>
|
---|
| 10 | <!-- Navigation links -->
|
---|
| 11 | <p><a name="TOP"><b>Up:</b></a> <a
|
---|
| 12 | href="http://www.qhull.org">Home page</a> for Qhull<br>
|
---|
| 13 | <b>Up:</b> <a href="../../html/index.htm#TOC">Qhull manual</a>: Table of Contents <br>
|
---|
| 14 | <b>Up:</b> <a href="../../html/qh-quick.htm#programs">Programs</a>
|
---|
| 15 | • <a href="../../html/qh-quick.htm#options">Options</a>
|
---|
| 16 | • <a href="../../html/qh-opto.htm#output">Output</a>
|
---|
| 17 | • <a href="../../html/qh-optf.htm#format">Formats</a>
|
---|
| 18 | • <a href="../../html/qh-optg.htm#geomview">Geomview</a>
|
---|
| 19 | • <a href="../../html/qh-optp.htm#print">Print</a>
|
---|
| 20 | • <a href="../../html/qh-optq.htm#qhull">Qhull</a>
|
---|
| 21 | • <a href="../../html/qh-optc.htm#prec">Precision</a>
|
---|
| 22 | • <a href="../../html/qh-optt.htm#trace">Trace</a><br>
|
---|
| 23 | <b>Up:</b> <a href="../../html/qh-code.htm#TOC">Qhull code: Table of Contents</a><br>
|
---|
| 24 | <b>To:</b> <a href="index.htm">Qhull functions</a>, macros, and data structures<br>
|
---|
| 25 | <b>To:</b> <a href="qh-geom.htm">Geom</a> • <a href="qh-globa.htm#TOC">Global</a>
|
---|
| 26 | • <a href="qh-io.htm">Io</a> • <a href="qh-mem.htm">Mem</a>
|
---|
| 27 | • <a href="qh-merge.htm">Merge</a> • <a href="qh-poly.htm">Poly</a>
|
---|
| 28 | • <a href="qh-qhull.htm">Qhull</a> • <a href="qh-set.htm">Set</a>
|
---|
| 29 | • <a href="qh-stat.htm">Stat</a> • <a href="qh-user.htm">User</a>
|
---|
| 30 | </p>
|
---|
| 31 |
|
---|
| 32 | <hr>
|
---|
| 33 | <!-- Main text of document. -->
|
---|
| 34 |
|
---|
| 35 | <h2>global.c -- global variables and their functions</h2>
|
---|
| 36 | <blockquote>
|
---|
| 37 | <p>Qhull uses a global data structure, <tt>qh</tt>, to store
|
---|
| 38 | globally defined constants, lists, sets, and variables. This
|
---|
| 39 | allows multiple instances of Qhull to execute at the same time.
|
---|
| 40 | The structure may be statically allocated or
|
---|
| 41 | dynamically allocated with malloc(). See
|
---|
| 42 | <a href="user.h#QHpointer">QHpointer</a>.
|
---|
| 43 | </p>
|
---|
| 44 | </blockquote>
|
---|
| 45 | <p><b>Copyright © 1995-2012 C.B. Barber</b></p>
|
---|
| 46 | <hr>
|
---|
| 47 | <p><a href="#TOP">»</a> <a href="qh-geom.htm#TOC">Geom</a>
|
---|
| 48 | <a name="TOC">•</a> <b>Global</b> •
|
---|
| 49 | <a href="qh-io.htm#TOC">Io</a> • <a href="qh-mem.htm#TOC">Mem</a> •
|
---|
| 50 | <a href="qh-merge.htm#TOC">Merge</a> • <a href="qh-poly.htm#TOC">Poly</a> •
|
---|
| 51 | <a href="qh-qhull.htm#TOC">Qhull</a> • <a href="qh-set.htm#TOC">Set</a> •
|
---|
| 52 | <a href="qh-stat.htm#TOC">Stat</a> • <a href="qh-user.htm#TOC">User</a> </p>
|
---|
| 53 |
|
---|
| 54 | <h3>Index to <a href="global.c">global.c</a> and
|
---|
| 55 | <a href="libqhull.h">libqhull.h</a></h3>
|
---|
| 56 |
|
---|
| 57 | <ul>
|
---|
| 58 | <li><a href="#ovar">Qhull's global variables</a> </li>
|
---|
| 59 | <li><a href="#ofunc">Global variable and initialization
|
---|
| 60 | routines</a> </li>
|
---|
| 61 | </ul>
|
---|
| 62 |
|
---|
| 63 | <h3><a href="qh-globa.htm#TOC">»</a><a name="ovar">Qhull's global
|
---|
| 64 | variables</a></h3>
|
---|
| 65 |
|
---|
| 66 | <ul>
|
---|
| 67 | <li><a href=global.c#qh_version>qh_version</a> version string
|
---|
| 68 | <li><a href="libqhull.h#qh">qh</a> all global variables for
|
---|
| 69 | qhull are in <tt>qh,qhmem</tt>, and <tt>qhstat</tt></li>
|
---|
| 70 | <li><a href="libqhull.h#qh-const">qh constants</a> configuration
|
---|
| 71 | flags and constants for Qhull </li>
|
---|
| 72 | <li><a href="libqhull.h#qh-prec">qh precision constants</a>
|
---|
| 73 | precision constants for Qhull </li>
|
---|
| 74 | <li><a href="libqhull.h#qh-codetern">qh internal constants</a>
|
---|
| 75 | internal constants for Qhull </li>
|
---|
| 76 | <li><a href="libqhull.h#qh-lists">qh facet and vertex lists</a>
|
---|
| 77 | lists of facets and vertices </li>
|
---|
| 78 | <li><a href="libqhull.h#qh-var">qh global variables</a> minimum
|
---|
| 79 | and maximum distances, next visit ids, several flags, and
|
---|
| 80 | other global variables. </li>
|
---|
| 81 | <li><a href="libqhull.h#qh-set">qh global sets</a> global sets
|
---|
| 82 | for merging, hashing, input, etc. </li>
|
---|
| 83 | <li><a href="libqhull.h#qh-buf">qh global buffers</a> buffers
|
---|
| 84 | for matrix operations and input </li>
|
---|
| 85 | <li><a href="libqhull.h#qh-static">qh static variables</a>
|
---|
| 86 | static variables for individual functions </li>
|
---|
| 87 | </ul>
|
---|
| 88 |
|
---|
| 89 | <h3><a href="qh-globa.htm#TOC">»</a><a name="ofunc">Global variable and
|
---|
| 90 | initialization routines</a></h3>
|
---|
| 91 |
|
---|
| 92 | <ul>
|
---|
| 93 | <li><a href="global.c#appendprint">qh_appendprint</a> append
|
---|
| 94 | output format to <tt>qh.PRINTout</tt> </li>
|
---|
| 95 | <li><a href="global.c#freebuffers">qh_freebuffers</a> free
|
---|
| 96 | global memory buffers </li>
|
---|
| 97 | <li><a href="global.c#freeqhull">qh_freeqhull</a> free memory
|
---|
| 98 | used by qhull </li>
|
---|
| 99 | <li><a href="global.c#init_A">qh_init_A</a> called before
|
---|
| 100 | error handling initialized </li>
|
---|
| 101 | <li><a href="global.c#init_B">qh_init_B</a> called after
|
---|
| 102 | points are defined </li>
|
---|
| 103 | <li><a href="global.c#init_qhull_command">qh_init_qhull_command</a>
|
---|
| 104 | build <tt>qh.qhull_command</tt> from <tt>argc/argv</tt></li>
|
---|
| 105 | <li><a href="global.c#initflags">qh_initflags</a> set flags
|
---|
| 106 | and constants from command line </li>
|
---|
| 107 | <li><a href="global.c#initqhull_buffers">qh_initqhull_buffers</a>
|
---|
| 108 | initialize global memory buffers </li>
|
---|
| 109 | <li><a href="global.c#initqhull_globals">qh_initqhull_globals</a>
|
---|
| 110 | initialize global variables </li>
|
---|
| 111 | <li><a href="global.c#initqhull_mem">qh_initqhull_mem</a>
|
---|
| 112 | initialize Qhull memory management </li>
|
---|
| 113 | <li><a href="global.c#initqhull_start">qh_initqhull_start</a>
|
---|
| 114 | allocate qh_qh and call qh_initqhull_start2()
|
---|
| 115 | <li><a href="global.c#initqhull_start2">qh_initqhull_start2</a>
|
---|
| 116 | initialize default values at Qhull startup </li>
|
---|
| 117 | <li><a href="global.c#initthresholds">qh_initthresholds</a>
|
---|
| 118 | initialize 'Pdn' and 'PDn' thresholds </li>
|
---|
| 119 | <li><a href="global.c#option">qh_option</a> append option
|
---|
| 120 | description to <tt>qh.global_options</tt> </li>
|
---|
| 121 | <li><a href="global.c#restore_qhull">qh_restore_qhull</a>
|
---|
| 122 | restores a previously saved qhull </li>
|
---|
| 123 | <li><a href="global.c#save_qhull">qh_save_qhull</a> saves
|
---|
| 124 | qhull for a later qh_restore_qhull() </li>
|
---|
| 125 | <li><a href="global.c#strtol">qh_strtol</a> duplicates
|
---|
| 126 | strtod() and strtol() </li>
|
---|
| 127 | </ul>
|
---|
| 128 |
|
---|
| 129 | <p><!-- Navigation links --> </p>
|
---|
| 130 | <hr>
|
---|
| 131 | <p><b>Up:</b>
|
---|
| 132 | <a href="http://www.qhull.org">Home page for
|
---|
| 133 | Qhull</a> <br>
|
---|
| 134 | <b>Up:</b> <a href="../../html/index.htm#TOC">Qhull manual: Table of Contents</a> <br>
|
---|
| 135 | <b>Up:</b> <a href="../../html/qh-quick.htm#programs">Programs</a>
|
---|
| 136 | • <a href="../../html/qh-quick.htm#options">Options</a>
|
---|
| 137 | • <a href="../../html/qh-opto.htm#output">Output</a>
|
---|
| 138 | • <a href="../../html/qh-optf.htm#format">Formats</a>
|
---|
| 139 | • <a href="../../html/qh-optg.htm#geomview">Geomview</a>
|
---|
| 140 | • <a href="../../html/qh-optp.htm#print">Print</a>
|
---|
| 141 | • <a href="../../html/qh-optq.htm#qhull">Qhull</a>
|
---|
| 142 | • <a href="../../html/qh-optc.htm#prec">Precision</a>
|
---|
| 143 | • <a href="../../html/qh-optt.htm#trace">Trace</a><br>
|
---|
| 144 | <b>Up:</b> <a href="../../html/qh-code.htm#TOC">Qhull code: Table of Contents</a> <br>
|
---|
| 145 | <b>To:</b> <a href="index.htm">Qhull functions</a>, macros, and data structures<br>
|
---|
| 146 | <b>To:</b> <a href="qh-geom.htm">Geom</a> •
|
---|
| 147 | <a href="qh-globa.htm">Global</a> • <a href="qh-io.htm">Io</a>
|
---|
| 148 | • <a href="qh-mem.htm">Mem</a> • <a href="qh-merge.htm">Merge</a>
|
---|
| 149 | • <a href="qh-poly.htm">Poly</a> • <a href="qh-qhull.htm#TOC">Qhull</a>
|
---|
| 150 | • <a href="qh-set.htm">Set</a> • <a href="qh-stat.htm">Stat</a>
|
---|
| 151 | • <a href="qh-user.htm">User</a><br>
|
---|
| 152 | <p><!-- GC common information --> </p>
|
---|
| 153 | <hr>
|
---|
| 154 | <p><a href="http://www.geom.uiuc.edu/"><img
|
---|
| 155 | src="../../html/qh--geom.gif" align="middle" width="40" height="40"></a><i>The
|
---|
| 156 | Geometry Center Home Page </i></p>
|
---|
| 157 | <p>Comments to: <a href=mailto:qhull@qhull.org>qhull@qhull.org</a>
|
---|
| 158 | </a><br>
|
---|
| 159 | Created: May 2, 1997 --- <!-- hhmts start --> Last modified: see top <!-- hhmts end --> </p>
|
---|
| 160 | </body>
|
---|
| 161 | </html>
|
---|