>  Docs Center  >  Libraries  >  Buie  >  RADTODMS
Libraries

RADTODMS

RADTODMS

Name


    radtodms

Purpose (one Line)


    Convert an angle from radians to degrees, minutes, and seconds.

Description


Category


    Astronomy

Calling Sequence


    radtodms, radians, sign, deg, min, sec

Inputs


    radians = Angle expressed in radians. May be a vector, in which case
              the outputs will be vectors.

Optional Input Parameters


Keyword Parameters


Outputs


    sign : Sign associated with the outputs (-1 or +1).
    deg : Degrees.
    min : Minutes.
    sec : Seconds.

Common Blocks


Side Effects


Restrictions


Procedure


    The input declination is broken into four parts. The sign is carried
  as a separate value, to make angles near zero behave correctly. There
  are no invalid angles.

Modification History


  Copyright (C) 1987, by Marc W. Buie
  Version dated 87/2/1
  Ported by Doug Loucks, Lowell Observatory, August 11, 1993, from the
  C-Language version written by Marc Buie.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us