Library next up previous contents
Next: Module gr_typeout Up: List of all GR Previous: Module gr_sweep

Module gr_transform

NAME
    gr_transform - a GRToolbox module
DESCRIPTION
    Translation and scaling of 2 or 3D point data.
    Giving no option means a simple copy of the data.
    Allows complex transformation by giving a trans-.
    formation matrix as a first set (of one dim higher
    then the points).
SYNOPSIS:
    -[tx ty tz sx sy szh o v noc nof now skip f m c e i s l]
    -help    For help on all options.
Special Options:
    -matrix    take first set as matrix for transformation.
            The transformation matrix has to have
    (dimension +1 x dimension+1) values.
    Translations have to apper in the last column, Scaling
    factors inthe first dim  diagonal elements
    -scale float    Scale_factor for all coordinates.
    -blow float    Same as -scale.
    -t0 float    Value of translate 1.coordinate.
    -t1 float    Value of translate 2.coordinate.
    -tn float    Value of translate n.coordinate.
    -s0 float    Scale factor 1.coordinate.
    -s1 float    Scale factor 2.coordinate.
    -sn float    Scale factor n.coordinate.
    -tx float    Value of translate in x-direction.
    -ty float    Value of translate in y-direction.
    -tz float    Value of translate in z-direction.
    -sx float    Value of scaling in x-direction.
    -sy float    Value of scaling in y-direction.
    -sz float    Value of scaling in z-direction.
    Translation will be calculated before scaling


Jens Trapp
Wed Jun 12 20:34:13 MET DST 1996