rect2cyl - converts the coordinates of a point, line or triangle cloud from rectangular to cylindrical.
rect2cyl [-l|--line] [-p INT|--precision INT] [-?|-h|--help]
rect2cyl converts the coordinates of a point, line or triangle cloud from rectangular to cylindrical. The origin is (0,0,0) and the axis of the cylinder is 'z' (use 'translate' to change the origin and 'rotate' to change the orientation). The cylindrical coordinates are 'r' (radius), 'a' (azimuth), 'z' (height). Angles are expressed in radian (use 'scale' to change the unit). 'scale' can also be used to convert to a cylindric elliptical coordinate system. The program takes its input from the standard input and returns the result to the standard output.
for 'line files' with 2 points on each line
number of decimals (default: 6)
Refer to the manual page
Written by Pierre Smars (first version: 2013)
Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.
Copyright (C) 2013-2020 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.
cyl2rect(1), translate(1), rotate(1), scale(1), view_pt(1), view_li(1), view_tri(1)