Up    Next

conv_hull - convex hulls (using Qhull)

Usage    |    Examples    |    Notes

Usage

Synopsis

conv_hull [options] [input_file]

Description

Read an file in OFF format and make a convex hull (using Qhull).

Options

input_file
input file in OFF format, or if not given the program reads from stdin

-h
program help

-a
append the convex hull to the input file

-Q <args>
additional arguments to pass to qhull (unsupported, may not work check output)

-o <file>
write output to file, if this option is not used the program writes to standard output

Examples

cube.txt is a file containg eight cube vertices ±1, ,±1, ±1. Make the edges with
   conv_hull -o cube.off cube.txt
triangulate the output, so each square also has a diagonal edge
   conv_hull -Q QJ -o cube.off cube.txt
See Notes below

Notes

This is a very thin wrapper around Qhull. The Packinon programs will read three dimensional Qhull OFF output, so it is also convenient to use the Qhull programs directly. This is recommended if you want to use additional options. Notice that
   conv_hull -Q Qt -o cube.off cube.txt
   conv_hull -a -Q QJ -o cube.off cube.txt
Do not give the expected results.

Up: Programs and Documentation
Next: pol_recip - polar reciprocals (duals)

Packinon Documentation 15.6.2005 - http://packinon.sourceforge.net/