Module gr_move_origin


Name:
gr_move_origin - a GRToolbox module
Description:
Moves a reference point to zero. The reference point is given
by the point which has the x-value closest to zero (Default).
Synopsis:
-[center ce compare co value val epsh o v noc nof now skip f m c e i s l]
-help For help on all options.
Special Options:
-center int Coordinate that shall be centered.(Default: 1)
-ce int Coordinate that shall be centered.(Default: 1)
-compare int Coordinate that shall be compared. (Default: 0)
-co int Coordinate that shall be compared. (Default: 0)
-value int Value that shall be compared. (Default: 0.000000)
-val int Value that shall be compared. (Default: 0.000000)
-eps int Accuracy for comparison. (Default: 0.000010)

Example Input Data:
@title "Example will have centerpoint (0, 0)."
-1 1.22465e-16
-0.5 0.866025
0 1
0.5 0.866025
1 0
&
-1 1.22465e-16
-0.5 -0.866025
0 -1
0.5 -0.866025
1 -2.44929e-16
Example Output Data:
@title "Example will have centerpoint (0, 0)."
-1 -1
-0.5 -0.133975
0 0
0.5 -0.133975
1 -1
&
-1 1
-0.5 0.133975
0 0
0.5 0.133975
1 1



Back to List of all GR Modules.