Next: ELLIPSE
Up: GREG2 Language Internal Help
Previous: GREG2 Language Internal Help
CONVERT
[GREG2\]CONVERT A0 D0 [Angle] [/TYPE Ptype] [/UNIT Unit] [/SYSTEM
System] [/VAR Varx Vary]
This command assumes that the X,Y buffers (or the 1-D variables Varx and
Vary if option /VAR is used) contain data in the specified projection
(or in absolute spherical coordinates if Ptype is NONE) in the given
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
projection, as defined by command PROJECTION. Note that the projected
coordinates 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 Varx and Vary arrays MUST BE REAL*8,
and WRITEABLE (see HELP DEFINE).
Gildas manager
1999-03-12