Skip to content

Commit fb7d910

Browse files
committed
qhull 2002.1 2002/8/20 -- Contents of qhull-2002.1.tgz
Changes to distribution: - Set up savannah.nongnu.org/projects/qhull/ [R. Laboissiere] - Set up www.thesa.com as a backup - Added qh-get.htm, a local copy of the download page - Added Visual C++ interface to Qhull, qhull_interface.cpp [K. Erleben] - Use HTTP instead of FTP for downloading Qhull - Renamed qhull-1.0.sit.hqx Bug fixes: - Fixed sign of coefficients for cdd halfspaces ('FD','Fd') [T. Abraham] Changes to code: - Replace qh_version with qh_VERSION in qhulllib.h. Allows shared libraries and single point of definition - Added qh.TESTpoints for future implementation of tsearch Changes to build - Makefile.txt works under cygwin - Added Make-config.sh to create a Debian build [R. Laboissiere] - Added .exe to Makefile.txt#clean. - In README, use -fno-strict-aliasing with gcc-2.95.1 [Karas, Krishnaswami] - Fixed chmod in Makefile.txt [B. Karas] Documentation updates - Documented input options for each program [A. Montesinos] - FAQ: "How to get the radii of the empty spheres for Voronoi vertices" URL updates: - Changed official URL from locate/qhull to software/qhull - Changed URLs from relative to absolute in qh-home.htm and qh-get.htm - Added URL for Newsgroup: comp.soft-sys.matlab - Added URL for GNU Octave - Added URLs for Google and Google Groups - Replaced qhull_mail.html and qhull_bug.html with mailto links. - Removed URL for Computational Geometry Tribune - Changed URL for locate/cglist to software/cglist - Used site relative links for qh-home.htm
1 parent 6493d82 commit fb7d910

76 files changed

Lines changed: 1259 additions & 613 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Announce.txt

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11

2-
Qhull Version 3.1 October 4, 2001
2+
Qhull 2002.1 2002/8/20
33

4-
http://www.geom.umn.edu/locate/qhull
4+
http://www.geom.umn.edu/software/qhull
5+
http://www.geom.umn.edu/software/download/qhull.html
6+
http://savannah.gnu.org/projects/qhull/
7+
http://www6.uniovi.es/ftp/pub/mirrors/geom.umn.edu/software/ghindex.html
58
http://www.geomview.org
6-
ftp://geom.umn.edu/pub/software/qhull.tar.gz
7-
ftp://geom.umn.edu/pub/software/qhull3-0.zip
8-
ftp://geom.umn.edu/pub/software/qhull-96.ps.gz
9-
ftp://geom.umn.edu/pub/software/qhull-1.0.tar.gz
10-
ftp://geom.umn.edu/pub/software/qhull.sit.hqx
119

1210
Qhull computes convex hulls, Delaunay triangulations, Voronoi diagrams,
1311
furthest-site Voronoi diagrams, and halfspace intersections about a point.
@@ -20,24 +18,17 @@ input transformations, randomization, tracing, multiple output formats, and
2018
execution statistics. The program can be called from within your application.
2119
You can view the results in 2-d, 3-d and 4-d with Geomview.
2220

23-
To download Qhull on Unix systems:
21+
To download Qhull:
2422

25-
ftp geom.umn.edu (or 128.101.25.35), user: anonymous
26-
password: <your user id>, cd pub/software, bin, get qhull.tar.gz, quit
27-
gunzip qhull.tar.gz, tar xf qhull.tar, cd qhull3.0, more README.txt
23+
http://www.geom.umn.edu/software/download/qhull.html
2824

29-
To download Qhull on Win32 systems:
30-
31-
ftp geom.umn.edu (or 128.101.25.35), user: anonymous
32-
password: <your user id>, cd pub/software, bin, get qhull3-0.zip, quit
33-
extract with winzip32, read README.txt
34-
35-
Download qhull-96.ps.gz for:
25+
Download qhull-96.ps for:
3626

3727
Barber, C. B., D.P. Dobkin, and H.T. Huhdanpaa,
3828
"The Quickhull Algorithm for Convex Hulls," ACM
3929
Trans. on Mathematical Software, Dec. 1996.
4030
http://www.acm.org/pubs/citations/journals/toms/1996-22-4/p469-barber/
31+
http://www.geom.umn.edu/software/qhull/qhull-96.ps
4132

4233
Abstract:
4334

COPYING.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Qhull, Copyright (c) 1993-2001
1+
Qhull, Copyright (c) 1993-2002
22

33
The National Science and Technology Research Center for
44
Computation and Visualization of Geometric Structures
@@ -12,7 +12,7 @@
1212

1313
This software includes Qhull from The Geometry Center. Qhull is
1414
copyrighted as noted above. Qhull is free software and may be obtained
15-
via anonymous ftp from geom.umn.edu. It may be freely copied, modified,
15+
via http from www.geom.umn.edu. It may be freely copied, modified,
1616
and redistributed under the following conditions:
1717

1818
1. All copyright notices must remain intact in all files.

File_id.diz

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ works with 2-d, 3-d, 4-d, 5-d, and higher
77
dimensions. It computes volumes, surface
88
areas, and approximations. It runs in a
99
DOS window under Windows 95/NT.
10-
www.geom.umn.edu/locate/qhull, freeware.
10+
www.geom.umn.edu/software/qhull, freeware.
1111

1212

README.txt

Lines changed: 69 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
Name
22

3-
qhull, rbox Version 3.1 October 4, 2001
3+
qhull, rbox 2002.1 August 20, 2002
44

55
Convex hull, Delaunay triangulation, Voronoi diagrams, Halfspace intersection
66

7-
Documentation:
8-
qhull3.0/html/index.htm
7+
Documentation:
8+
html/index.htm
99

1010
Available from:
11-
<http://www.geom.umn.edu/locate/qhull>
12-
<ftp://geom.umn.edu/pub/software/qhull.tar.Z>
13-
<ftp://geom.umn.edu/pub/software/qhull3-0.zip>
11+
<http://www.geom.umn.edu/software/qhull>
12+
<http://savannah.gnu.org/projects/qhull>
13+
<http://www.thesa.com/software/qhull>
1414

1515
Version 1 (simplicial only):
16-
<ftp://geom.umn.edu/pub/software/qhull-1.0.tar.Z>
17-
<ftp://geom.umn.edu/pub/software/qhull.sit.hqx>
16+
<http://www.geom.umn.edu/software/qhull/qhull-1.0.tar.gz>
17+
<http://www.geom.umn.edu/software/qhull/qhull.sit.hqx>
1818

1919
News and a paper:
2020
<http://www.geom.umn.edu/~bradb/qhull-news.html>
21-
<ftp://geom.umn.edu/pub/software/qhull-96.ps.gz>
21+
<http://www.geom.umn.edu/software/qhull/qhull-96.ps>
2222

2323
Purpose
2424

@@ -45,8 +45,11 @@ Environment requirements
4545
Qhull is copyrighted software. Please read COPYING.txt and REGISTER.txt
4646
before using or distributing Qhull.
4747

48+
To contribute to Qhull
4849

49-
Qhull on Windows 95, 98, ME, NT, 2000
50+
Qhull is on Savannah, http://savannah.gnu.org/projects/qhull/
51+
52+
Qhull on Windows 95, 98, ME, NT, 2000, XP
5053

5154
The zip file contains rbox.exe, qhull.exe, qconvex.exe, qdelaunay.exe,
5255
qhalf.exe, qvoronoi.exe, documentation files, and source files.
@@ -55,68 +58,82 @@ Qhull on Windows 95, 98, ME, NT, 2000
5558
- Unzip the files into a directory. You may use WinZip32 <www.hotfiles.com>
5659
- Open a DOS window for the directory.
5760
- In Windows 95, the DOS window needs improvement.
58-
- Double-click on qhull3.0\eg\qhull-go.bat to call doskey (arrow keys).
61+
- Double-click on qhull\eg\qhull-go.bat to call doskey (arrow keys).
5962
- Increase the size of the screen font to 8x12.
60-
- If the text is too dim, fix the screen colors with shareware (crt.exe)
61-
- If you use qhull a lot, consider using the Unix shell,
62-
tcsh (ftp.gw.com/pub/unix/tcsh) and the
63+
- If the text is too dim, fix the screen colors with shareware (e.g., crt.exe)
64+
- If you use qhull a lot, consider using the Cygwin Unix shell,
6365
Cygwin tools (http://sources.redhat.com/cygwin/)
6466
- Execute 'qconvex' for a synopsis and examples.
6567
- Execute 'rbox 10 | qconvex' to compute the convex hull of 10 random points.
6668
- Execute 'rbox 10 | qconvex i TO file' to write results to 'file'.
6769
- If an error occurs, Windows 95 sends the error to stdout instead of stderr
6870
- use 'TO xxx' to send normal output to xxx and error output to stdout
69-
- Browse the documentation: qhull3.0\html\index.htm
71+
- Browse the documentation: qhull\html\index.htm
7072

7173
Compiling for Unix
7274

73-
The gzip file, qhull.tar.gz, contains documentation and source files for
75+
The gzip file, qhull.tgz, contains documentation and source files for
7476
qhull and rbox.
7577

7678
To unpack the gzip file
77-
- gunzip qhull.tar.gz
78-
- tar xf qhull.tar
79-
- cd qhull3.0
79+
- tar zxf qhull.tgz
80+
- cd qhull
8081

81-
To compile qhull, qconvex, qdelaunay, qhalf, qvoronoi, and rbox
82-
- cd qhull3.0/src
82+
Compiling with the Debian Make:[R. Laboissiere]
83+
- cd src
84+
- ./Make-config.sh
85+
- cd ..
86+
- configure
87+
- make
88+
89+
Compiling with Makefile (i.e., Makefile.txt)
90+
- cd src
8391
- in Makefile, check the CC, CCOPTS1, PRINTMAN, and PRINTC defines
8492
- the defaults are gcc and enscript
8593
- CCOPTS1 should include the ANSI flag. It defines __STDC__
8694
- in user.h, check the definitions of qh_SECticks and qh_CPUclock.
8795
- use '#define qh_CLOCKtype 2' for timing runs longer than 1 hour
88-
- type: make doc
89-
- this prints the documentation.
90-
- See also qhull3.0/html/index.htm
91-
- type: make
96+
- type: make
9297
- this builds: qhull qconvex qdelaunay qhalf qvoronoi rbox libqhull.a
98+
- type: make doc
99+
- this prints the man page
100+
- See also qhull/html/index.htm
93101
- if your compiler reports many errors, it is probably not a ANSI C compiler
94102
- you will need to set the -ansi switch or find another compiler
95103
- if your compiler warns about missing prototypes for fprintf() etc.
96104
- this is ok, your compiler should have these in stdio.h
97105
- if your compiler warns about missing prototypes for memset() etc.
98106
- include memory.h in qhull_a.h
107+
- if your compiler is gcc-2.95.1, you need to set flag -fno-strict-aliasing.
108+
- This flag is set by default for other versions [Karas, Krishnaswami]
99109
- if your compiler reports "global.c: storage size of 'qh_qh' isn't known"
100110
- delete the initializer "={0}" in global.c, stat.c and mem.c
101111
- if your compiler warns about "stat.c: improper initializer"
102112
- this is ok, the initializer is not used
103113
- if you have trouble building libqhull.a with 'ar'
104-
- try 'make qhullx'
114+
- try 'make -f Makefile.txt qhullx'
105115
- if the code compiles, the qhull test case will automatically execute
106116
- if an error occurs, there's an incompatibility between machines
107-
- if you can, try a different compiler
108-
- you can turn off the Qhull memory manager with qh_NOmem in mem.h
109-
- you can turn off compiler optimization (-O2 in Makefile)
110-
- if you find the source of the problem, please let us know
111-
- if you have Geomview,
117+
- For gcc-2.95.1, you need to set flag -fno-strict-aliasing.
118+
It is set by default for other versions of gcc [Karas, Krishnaswami]
119+
- If you can, try a different compiler
120+
- You can turn off the Qhull memory manager with qh_NOmem in mem.h
121+
- You can turn off compiler optimization (-O2 in Makefile)
122+
- If you find the source of the problem, please let us know
123+
- if you have Geomview (www.geomview.org)
112124
- try 'rbox 100 | qconvex G >a' and load 'a' into Geomview
113125
- run 'q_eg' for Geomview examples of Qhull output (see qh-eg.htm)
114126
- to install the programs and their man pages:
115127
- define MANDIR and BINDIR
116128
- type 'make install'
117129

130+
Compiling for Windows NT, 2000, XP with cygwin (www.cygwin.com)
131+
132+
- install cygwin with gcc, make, ar, and ln
133+
- cd qhull/src
134+
- make -f Makefile.txt
118135

119-
Compiling for Windows 95, 98, NT, 2000
136+
Compiling for Windows 95, 98, NT, 2000, XP
120137

121138
Qhull compiles as a console application in Visual C++ 5.0 at warning
122139
level 3.
@@ -129,32 +146,38 @@ Compiling for Windows 95, 98, NT, 2000
129146
- create a "Win32 console application" called "rbox"
130147
- add rbox.c
131148

132-
Visual C++ quickstart for qhull library, qconvex, etc.
149+
Visual C++ quickstart for qhull library, qconvex.exe, etc.
133150
- To simplify setting up lots of projects,
134-
create a "Win32 console application" called "qhull source"
135-
add all .c files from .../src/...
136-
change Project:Settings... when done
151+
- create a temporary "Win32 console application" called "source"
152+
- add all .c files from .../src/...
153+
- In Tools::Options::Tab
154+
Set tab size to 8 and indent size to 2
137155

138156
- create a "Win32 console application" called "rbox"
139157
- move rbox.c from "qhull source"
158+
- for Project:Settings..., Link
159+
you only need the default libraries
140160
- build the project
141161

142162
- create a "Win32 static library" called "library"
143163
- move these files from "qhull source"
144164
geom.c geom2.c global.c io.c mem.c merge.c poly.c poly2.c qhull.c
145165
qset.c stat.c user.c
166+
- set the library file (use the same for debug and release)
146167
- build the project
147168

148169
- create a "Win32 console application" called "qhull"
149170
- move unix.c from "qhull source"
150-
- add "qhull library.lib" from Visual C++'s build directory
171+
- Set the library file in Project:Settings..., Link
172+
- Qhull does not use other libraries
151173

152174
- create a "Win32 console application" called "qconvex"
153175
- move qconvex.c from "qhull source"
154-
- copy "qhull library.lib" from "qhull"
176+
- Set the library file in Project:Settings..., Link
155177

156178
- do the same for qdelaun.c, qhalf, qvoronoi.c, user_eg.c, user_eg2.c
157179
- delete "qhull sources" since it is no longer needed
180+
- Set the library file in Project:Settings..., Link
158181
- use Project:Settings to make any changes
159182
- use batch build to rebuild everything
160183

@@ -182,7 +205,7 @@ Compiling for the Power Macintosh
182205
Windows 95'. Instead of using SIOUX, Qhull may be embedded within an
183206
application.
184207

185-
Version 1 is available for Macintosh computers by ftp of qhull.sit.hqx
208+
Version 1 is available for Macintosh computers by download of qhull.sit.hqx
186209
It reads point coordinates from a standard file and returns output
187210
to a standard file. There is no graphical output.
188211

@@ -205,12 +228,15 @@ Distributed files
205228
COPYING.txt // copyright notice
206229
Announce.txt // announcement
207230
Changes.txt // change history for Qhull and rbox
208-
Makefile // Makefile for Unix 'make'
209-
MBorland // Makefile for Borland C++/Win32
210231
qh-faq.htm // Frequently asked questions
211232
qh-home.htm // Home page
233+
qh-get.htm // Download page
212234
html/index.htm // Manual
213-
235+
Makefile.txt // Makefile for Unix or cygwin 'make'
236+
MBorland // Makefile for Borland C++/Win32
237+
Make-config.sh // Create Debian configure and automake
238+
239+
src/
214240
rbox consists of:
215241
rbox.exe // Win32 executable (.zip only)
216242
rbox.htm // html manual
@@ -254,7 +280,7 @@ Distributed files
254280
user.c // user re-definable functions
255281
user_eg.c // example of incorporating qhull into a user program
256282
user_eg2.c // more complex example
257-
qhull_interface.cpp // call Qhull from C++
283+
qhull_interface.cpp // call Qhull from C++
258284

259285
other source files:
260286
qhull_a.h // include file for *.c

REGISTER.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ To cite Qhull, use
2828

2929
Barber, C.B., Dobkin, D.P., and Huhdanpaa, H.T., "The Quickhull
3030
algorithm for convex hulls," ACM Trans. on Mathematical Software,
31-
Dec 1996. http://www.geom.umn.edu/locate/qhull
31+
Dec 1996. http://www.geom.umn.edu/software/qhull
3232

3333
Please send e-mail to
3434

eg/q_test

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ rbox 6 r s c G0.1 D2 | qhull d FA Tcv
218218
rbox 6 r s c G0.1 D2 | qhull Qt v p Tcv
219219
rbox c | qhull Qt C-0.1 Qc FF s FQ Fi n Fo FQ FI Fm Fn FN FO FO FQ Fs FS FV Fv Tcv
220220
rbox 6 r s c G0.1 D2 P0.1,0.1 | qhull s FP d FO Qt
221-
RBOX 100 W0 | QHULL Tv Q11 FO
221+
rbox 100 W0 | qhull Tv Q11
222222

223223
echo === test unbounded intersection ${d:-`date`}
224224
rbox c | qhull PD0:0.5 n | qhull H0 Fp Tcv
@@ -351,12 +351,12 @@ rbox 100 D6 t |qhull A-0.9999 Qx Qc Tcv
351351
rbox 50 D7 t |qhull A-0.99999 Qx Qc Tcv W0.1
352352

353353
echo === check bad cases for Qhull. May cause errors ${d:-`date`}
354-
RBOX 1000 L100000 s G1e-6 t | QHULL Tv
355-
RBOX 1000 L100000 s G1e-6 t | QHULL Tv Q10
354+
rbox 1000 L100000 s G1e-6 t | qhull Tv
355+
rbox 1000 L100000 s G1e-6 t | qhull Tv Q10
356356
rbox 1000 s Z1 G1e-13 t | qhull Tv
357-
RBOX 1000 s W1e-13 P0 t | QHULL d Qbb Qc Tv
358-
RBOX 1000 s W1e-13 t | QHULL d Tv
359-
RBOX 1000 s W1e-13 t D2 | QHULL d Tv
357+
rbox 1000 s W1e-13 P0 t | qhull d Qbb Qc Tv
358+
rbox 1000 s W1e-13 t | qhull d Tv
359+
rbox 1000 s W1e-13 t D2 | qhull d Tv
360360

361361
echo =======================================================
362362
echo =======================================================

eg/q_test.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
echo q_test for Windows DOS box 2001/10/04 >q_test.x
1+
echo q_test for Windows DOS box 2002/6/1 >q_test.x
22
echo === errors if 'user_eg' and 'user_eg2' not found ===
33
echo === check user_eg === >>q_test.x
44
echo "user_eg 'QR1 p n Qt' 'v p' Fp" >>q_test.x

0 commit comments

Comments
 (0)