Examples of calls to hull

User input is shown in italics.

hull <<EOF
	0 0
	1 1
	2 2
	EOF

reading from stdin
main output to stdout
dim=2
not shuffling
will produce main output
finding convex hull...
rdim=2; pdim=2
computed
%hull
0 
2 

After the chatter, the real output is the last three lines, the first line simply echoing the command line. The three points (0,0), (1,1), and (2,2) are in the line y=x in the plane, and their convex hull is the line segment (0,0)--(2,2), with facets (0,0), which is point number 0, and (2,2) which is point number 2.



rsites 10 2 | hull -A -oN -ov -oFexample
reading from stdin
dim=2
not shuffling
no main output
finding Delaunay triangulation...
rdim=3; pdim=2
computed
finding alpha shape; output to example-alf
alpha=2.78177E+11
finding volumes; output to example-vol

Input is random, uniform ints in a square with sidelength 1e6;

Compute the alpha shape and volumes of Voronoi regions. do not output the Delaunay triangulation that is also computed.

The "plausible" alpha computed by the program is 2.78177E+11.


cat example-alf
%hull -A -oN
0 6 
0 9 
3 8 
3 9 
8 5 
1 5 
6 1 

cat example-vol | grep -v INF
8 2 	60446.2
8 2 5 	1
8 2 3 	1
8 -1 9 	1
8 -1 5 	1
8 3 	909292
8 3 9 	1
2 	8.75466E+10
2 3 	104949
2 3 7 	1

...etc.
The volume output says, for example, that the set of points closest to sites 8 and 2 has 1-volume (that is, length) 60446.2.