aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/doc/sep.hlp
blob: 71808737cdd65a3497c861aca5a3c481a8fb38dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.help sep Jun99 "Slalib Package"
.nf

      REAL FUNCTION slSEP (A1, B1, A2, B2)

     - - - -
      S E P
     - - - -

  Angle between two points on a sphere (single precision)

  Given:
     A1,B1    real    spherical coordinates of one point
     A2,B2    real    spherical coordinates of the other point

  (The spherical coordinates are RA,Dec, Long,Lat etc, in radians.)

  The result is the angle, in radians, between the two points.  It
  is always positive.

  Called:  slCS2C

  P.T.Wallace   Starlink   April 1985

  Copyright (C) 1995 Rutherford Appleton Laboratory
  Copyright (C) 1995 Association of Universities for Research in Astronomy Inc.

.fi
.endhelp