Up    Next

pol_recip - polar reciprocals (duals)

Usage    |    Examples    |    Notes

Usage

Synopsis

pol_recip [options] [input_file]

Description

Read a file in OFF format and make a polar reciprocal from the face planes.

Options

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

-h
program help

-c <cent>
centre of reciprocal sphere, in form "x_val,y_val,z_val" (default: "0,0,0")

-r <rad>
radius of reciprocal sphere (default: 1)

-R <verts>
radius of reciprocal sphere using centroid of vertices given by index (starting from 0) in form "v1,v2,v3,...", radius is distance from centre to centroid of "v1, v2, v3..."

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

Examples

Make a cube whose vertices are the mid-points of an octahedron's faces
   pol_recip -o cube.off -R 0 octahedron.off

Notes

A dual of a convex polyhedron is normally made with the centre of reciprocation at the polyhedron centre and the radius to reach the edges mid-points.

Up: Programs and Documentation
Next: geodesic - geodesic spheres

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