How do I enter points for Qhull?
Qhull takes its data from standard input. For example, create a file named ‘data.txt’ with the following contents: 2 #sample 2-d input 5 #number of points 1 2 #coordinates of points -1.1 3 3 2.2 4 5 -10 -10 Then call qconvex with ‘qconvex < data.txt'. It will print a summary of the convex hull. Use 'qconvex < data.txt o' to print the vertices and edges. See also input format. You can generate sample data with rbox, e.g., 'rbox 10' generates 10 random points in 3-d. Use a pipe ('|') to run rbox and qhull together, e.g., rbox c | qconvex o computes the convex hull of a cube.