project_cylinder

NAME

project_cylinder - project point, line or triangle files on a cylinder

SYNOPSIS

project_cylinder [-cx DOUBLE] [-cy DOUBLE] [-cz DOUBLE] [-dx DOUBLE] [-dy DOUBLE] [-dz DOUBLE] [-r DOUBLE|--radius DOUBLE] [-?|-h|--help]

DESCRIPTION

project projects point, line or triangle files on a cylinder and unwrap it. The parameters of the projections are: 'c' (cx cy cz), a point on the axis of the cylinder; 'd' (dx dy dz), a vector pointing in the direction of the axis and 'r', the radius of the cylinder. It takes its input from the standard input and returns the result to the standard output.

OPTIONS

-d INTEGER, --dimension INTEGER

return a file in 2D (2) or 3D (3: default)

-cx DOUBLE

x coordinate of a point on the axis of the cylinder (default: 0)

-cy DOUBLE

y coordinate of a point on the axis of the cylinder (default: 0)

-cz DOUBLE

z coordinate of a point on the axis of the cylinder (default: 0)

-dx DOUBLE

x coordinate of the axis vector (default: 0)

-dy DOUBLE

y coordinate of the axis vector (default: 0)

-dz DOUBLE

z coordinate of the axis vector (default: 1)

-r DOUBLE, --radius DOUBLE

radius of the cylinder

-h,--help,-?

Returns the manual page

AUTHORS

Written by Pierre Smars (first version: 2010)

BUGS

Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.

COPYRIGHT

Copyright (C) 2013 Pierre Smars. License GPLv2 <http://www.gnu.org/licenses/gpl-2.0.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

project(1)

Pierre SMARS (tools, home page)