Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Analysis.AlgorithmBehavior/qhull-2012.1/src/libqhull/qh-globa.htm @ 10207

Last change on this file since 10207 was 10207, checked in by ascheibe, 11 years ago

#1886 added a unit test for volume calculation and the qhull library

File size: 7.3 KB
Line 
1<!-- Do not edit with Front Page, it adds too many spaces -->
2<html>
3<head>
4<meta http-equiv="Content-Type"
5content="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
12href="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&#149; <a href="../../html/qh-quick.htm#options">Options</a>
16&#149; <a href="../../html/qh-opto.htm#output">Output</a>
17&#149; <a href="../../html/qh-optf.htm#format">Formats</a>
18&#149; <a href="../../html/qh-optg.htm#geomview">Geomview</a>
19&#149; <a href="../../html/qh-optp.htm#print">Print</a>
20&#149; <a href="../../html/qh-optq.htm#qhull">Qhull</a>
21&#149; <a href="../../html/qh-optc.htm#prec">Precision</a>
22&#149; <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> &#149; <a href="qh-globa.htm#TOC">Global</a>
26&#149; <a href="qh-io.htm">Io</a> &#149; <a href="qh-mem.htm">Mem</a>
27&#149; <a href="qh-merge.htm">Merge</a> &#149; <a href="qh-poly.htm">Poly</a>
28&#149; <a href="qh-qhull.htm">Qhull</a> &#149; <a href="qh-set.htm">Set</a>
29&#149; <a href="qh-stat.htm">Stat</a> &#149; <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
38globally defined constants, lists, sets, and variables. This
39allows multiple instances of Qhull to execute at the same time.
40The structure may be statically allocated or
41dynamically allocated with malloc().  See
42<a href="user.h#QHpointer">QHpointer</a>.
43</p>
44</blockquote>
45<p><b>Copyright &copy; 1995-2012 C.B. Barber</b></p>
46<hr>
47<p><a href="#TOP">&#187;</a> <a href="qh-geom.htm#TOC">Geom</a>
48<a name="TOC">&#149;</a> <b>Global</b> &#149;
49<a href="qh-io.htm#TOC">Io</a> &#149; <a href="qh-mem.htm#TOC">Mem</a> &#149;
50<a href="qh-merge.htm#TOC">Merge</a> &#149; <a href="qh-poly.htm#TOC">Poly</a> &#149;
51<a href="qh-qhull.htm#TOC">Qhull</a> &#149; <a href="qh-set.htm#TOC">Set</a> &#149;
52<a href="qh-stat.htm#TOC">Stat</a> &#149; <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
60routines</a> </li>
61</ul>
62
63<h3><a href="qh-globa.htm#TOC">&#187;</a><a name="ovar">Qhull's global
64variables</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
69qhull are in <tt>qh,qhmem</tt>, and <tt>qhstat</tt></li>
70<li><a href="libqhull.h#qh-const">qh constants</a> configuration
71flags and constants for Qhull </li>
72<li><a href="libqhull.h#qh-prec">qh precision constants</a>
73precision constants for Qhull </li>
74<li><a href="libqhull.h#qh-codetern">qh internal constants</a>
75internal constants for Qhull </li>
76<li><a href="libqhull.h#qh-lists">qh facet and vertex lists</a>
77lists of facets and vertices </li>
78<li><a href="libqhull.h#qh-var">qh global variables</a> minimum
79and maximum distances, next visit ids, several flags, and
80other global variables. </li>
81<li><a href="libqhull.h#qh-set">qh global sets</a> global sets
82for merging, hashing, input, etc. </li>
83<li><a href="libqhull.h#qh-buf">qh global buffers</a> buffers
84for matrix operations and input </li>
85<li><a href="libqhull.h#qh-static">qh static variables</a>
86static variables for individual functions </li>
87</ul>
88
89<h3><a href="qh-globa.htm#TOC">&#187;</a><a name="ofunc">Global variable and
90initialization routines</a></h3>
91
92<ul>
93<li><a href="global.c#appendprint">qh_appendprint</a> append
94output format to <tt>qh.PRINTout</tt> </li>
95<li><a href="global.c#freebuffers">qh_freebuffers</a> free
96global memory buffers </li>
97<li><a href="global.c#freeqhull">qh_freeqhull</a> free memory
98used by qhull </li>
99<li><a href="global.c#init_A">qh_init_A</a> called before
100error handling initialized </li>
101<li><a href="global.c#init_B">qh_init_B</a> called after
102points are defined </li>
103<li><a href="global.c#init_qhull_command">qh_init_qhull_command</a>
104build <tt>qh.qhull_command</tt> from <tt>argc/argv</tt></li>
105<li><a href="global.c#initflags">qh_initflags</a> set flags
106and constants from command line </li>
107<li><a href="global.c#initqhull_buffers">qh_initqhull_buffers</a>
108initialize global memory buffers </li>
109<li><a href="global.c#initqhull_globals">qh_initqhull_globals</a>
110initialize global variables </li>
111<li><a href="global.c#initqhull_mem">qh_initqhull_mem</a>
112initialize Qhull memory management </li>
113<li><a href="global.c#initqhull_start">qh_initqhull_start</a>
114allocate qh_qh and call qh_initqhull_start2()
115<li><a href="global.c#initqhull_start2">qh_initqhull_start2</a>
116initialize default values at Qhull startup </li>
117<li><a href="global.c#initthresholds">qh_initthresholds</a>
118initialize 'Pdn' and 'PDn' thresholds </li>
119<li><a href="global.c#option">qh_option</a> append option
120description to <tt>qh.global_options</tt> </li>
121<li><a href="global.c#restore_qhull">qh_restore_qhull</a>
122restores a previously saved qhull </li>
123<li><a href="global.c#save_qhull">qh_save_qhull</a> saves
124qhull for a later qh_restore_qhull() </li>
125<li><a href="global.c#strtol">qh_strtol</a> duplicates
126strtod() 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
133Qhull</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&#149; <a href="../../html/qh-quick.htm#options">Options</a>
137&#149; <a href="../../html/qh-opto.htm#output">Output</a>
138&#149; <a href="../../html/qh-optf.htm#format">Formats</a>
139&#149; <a href="../../html/qh-optg.htm#geomview">Geomview</a>
140&#149; <a href="../../html/qh-optp.htm#print">Print</a>
141&#149; <a href="../../html/qh-optq.htm#qhull">Qhull</a>
142&#149; <a href="../../html/qh-optc.htm#prec">Precision</a>
143&#149; <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> &#149;
147<a href="qh-globa.htm">Global</a> &#149; <a href="qh-io.htm">Io</a>
148&#149; <a href="qh-mem.htm">Mem</a> &#149; <a href="qh-merge.htm">Merge</a>
149&#149; <a href="qh-poly.htm">Poly</a> &#149; <a href="qh-qhull.htm#TOC">Qhull</a>
150&#149; <a href="qh-set.htm">Set</a> &#149; <a href="qh-stat.htm">Stat</a>
151&#149; <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
155src="../../html/qh--geom.gif" align="middle" width="40" height="40"></a><i>The
156Geometry Center Home Page </i></p>
157<p>Comments to: <a href=mailto:qhull@qhull.org>qhull@qhull.org</a>
158</a><br>
159Created: May 2, 1997 --- <!-- hhmts start --> Last modified: see top <!-- hhmts end --> </p>
160</body>
161</html>
Note: See TracBrowser for help on using the repository browser.