scale

NAME

scale - scale point, line, triangle or scalar clouds

SYNOPSIS

scale [-l|--line] [-s|--scalar] [-p INT|--precision INT] [-?|-h|--help] S

scale [-l|--line] [-p INT|--precision INT] [-?|-h|--help] SX SY SZ

DESCRIPTION

scale multiplies the coordinates of a point, line, triangle or scalar cloud by S (or SX SY SZ if appropriate). It takes its input from the standard input and returns the result to the standard output. The program can also be used to mirror some coordinates.

OPTIONS

-l,--line

for line clouds with 2 points on each line of the file

-s,--scalar

for scalar clouds with one value on each line of the file

-p INTEGER, --precision INTEGER

number of decimals (default: 6)

-h,--help,-?

Refer to the manual page

AUTHORS

Written by Pierre Smars (first version: 2001)

BUGS

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

COPYRIGHT

Copyright (C) 2024 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

rotate(1), view_pt(1), view_li(1), view_tri(1)

Pierre SMARS (tools, home page)