aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/doc/dsep.hlp
blob: 9b0f11175f3d1c26f8e8bff9c42e96a6b56bacec (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 dsep Jun99 "Slalib Package"
.nf

      DOUBLE PRECISION FUNCTION slDSEP (A1, B1, A2, B2)

     - - - - -
      D S E P
     - - - - -

  Angle between two points on a sphere (double precision)

  Given:
     A1,B1    dp    spherical coordinates of one point
     A2,B2    dp    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:  slDS2C

  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