rotate - rotates point, line or triangle clouds
rotate [-r|--reference] [-t STRING|--type STRING] [-l|--line] [-p INT|--precision INT] [-?|-h|--help] A1 A2 A3
rotate rotates a point, line or triangle cloud around the origin. The input requires three angles (in degree): A1, A2 and A3. By default, the cloud is first rotated of A1 around the axis x, then of A2 around the new axis y (y'), then of A3 around the latest axis z (z''). Option --type can be used to specify other orders. The program reads the cloud from the standard input and returns the result to the standard output.
by default, the cloud is rotated. With option -r, the programs rotates the frame of reference.
for line clouds with 2 points on each line
Used to specify the order of the rotations:
'xyz': A1 around x, then A2 around y', then A3 around z'' (default).
'zxy': A1 around z, then A2 around x', then A3 around y''
'zxz': A1 around z, then A2 around x', then A3 around z''
number of decimals (default: 6)
Returns the manual page
Written by Pierre Smars (first version: 2001)
Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.
Copyright (C) 2015 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.
translate(1), mirror(1), scale(1), view_pt(1), view_li(1), view_tri(1)