next up previous contents index
Next: ELLIPSE Up: GREG2 Language Internal Help Previous: Language NEWS   Contents   Index


CONVERT

        [GREG2\]CONVERT  A0  D0  [Angle] [/TYPE Ptype] [/UNIT Unit] [/SYSTEM
    System] [/VAR Var_X Var_Y]

    This command assumes that the X,Y buffers (or the  1-D  variables  Var_X
    and  Var_Y if option /VAR is used) contain data in the specified projec-
    tion (or in absolute spherical coordinates if Ptype is NONE) in the giv-
    en  angular  unit  (Degree Minute Seconds or the default Radian), in the
    specified System (GALACTIC or EQUATORIAL, default  current  system)  and
    converts  them to the current system, as defined by SET SYSTEM, and pro-
    jection, as defined by command PROJECTION. Note that the projected coor-
    dinates  are  always natural units (i.e. the equivalent of Radians after
    projection). There is no provision for "hidden" parts which are  treated
    exactly as visible ones.

    A0  D0  are Hours and Degrees if the input system is EQUATORIAL, Degrees
    otherwise.

    CAUTION: when using variables, the Var_X and Var_Y arrays  MUST  BE  RE-
    AL*8, and WRITEABLE (see HELP DEFINE).


Gildas manager 2011-04-01