Module gr_scale

gr_scale - a GRToolbox module
Scaling of the object either by giving a range for
one coordinate (-r...) or by specifying a scale factor
(-sx ...)
If -r options and -s... options are given -r.
values will be evaluated first.
The range can only specified for one coordinate.
-[r rx ry rz r0 r1 ...rn sx sy sz s0 s1 ...snh o v noc nof now skip f m c e i s l]
-help For help on all options.
Special Options:
-scale double Scale_factor for all coordinates.
-r double double Range in x- direction.
-r0 double double Range 1.direction (x).
-r1 double double Range 2.direction(y).
-rn double double Range n.direction.
-s0 double Scale factor 1.coordinate (x).
-s1 double Scale factor 2.coordinate(y).
-sn double Scale factor n.coordinate.
-rx double double Range in x-direction.
-ry double double Range in y-direction.
-rz double double Range in z-direction.
-sx double Value of scaling in x-direction.
-sy double Value of scaling in y-direction.
-sz double Value of scaling in z-direction.
Example Input Data:
0 0
0 1
0 0
1 0
Example Output Data:
0 0
0 1
0 0
1 0

Back to List of all GR Modules.