Expression for angle
SYNOPSIS
[+|-][degd][arcmin[m|M|']][arcsec[s/S/"]]
[+|-][hourh][minm][secs]
[+|-]radianrad
If the first part is with "d" or "h", the followin "m" and "s" are
automatically adjust in "arc" or "time".
The time is, of cause, used for the right acsension, that is
1h = 15deg.
DESTCRIPTION
The astonomonical software often uses values in angle.
There is no universal rulte to express the angle in a single word.
In STAR/ULTRA system most of commands use the following
expression for angles.
The values accept floating point and no upperlimit, say 60.0.
The sign must be attached as the first character.
EXSAMPLE
-12d34m56s --> -45296.0 arcsec = -12.582222 degree
12d34'56" --> 45296.0 arcsec = 12.582222 degrees
34'56" --> 2096.0 arcsec = 0.582222 degrees
-34M56S --> -2096.0 arcsec = -0.582222 degrees
12h30m --> 675000.0 arcsec = 187.5 degrees
30m15s --> 27225.0 arcsec = 7.5625 degrees
1.0rad --> 57.297 degrees
-0d30m --> -0.5 degrees
-10d-30m --> -10.5 degrees
10d-30m --> -10.5 degrees
12.5d --> 12.5 degrees
12.5d10.2s --> 45010.2 arcsec = 12.502833 degrees
HISTORY
- ver.1.00
- 1998/4/21 T.Handa
MANUAL VERSION
1998/5/23 T.Handa