Up    Next

canonical - canonicalize a polyhedon

Usage    |    Examples    |    Notes

Usage

Synopsis

canonical [options] [input_file]

Description

Read a polyhedron from a file in OFF format. Canonicalize it using George Hart's algorithm.

Options

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

-h
program help

-n <iters>
number of iterations (default: no limit)

-e <perc>
percentage to scale the edge tangency error (default: 50)

-p <perc>
percentage to scale the face planarity error (default: 20)

-l <lim>
minimum distance change to terminate, as negative exponent 1e-lim (default: 13 giving 1e-13)

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

Examples

Make a cube, distort it, and canonicalize it back into a cube
   unipoly cube | off_trans -S 1,2,3 | canonical > canonic_cube.off

Notes

The current implementation has been written to follow George Hart's Mathematica implementation

Up: Programs and Documentation
Next: repel - equilibrium of points repelling on a sphere

Antiprism Documentation 10.2.2007 - http://www.antiprism.com/