aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/doc/s2tp.hlp
blob: fb92a6f9cd867e0f4f1ed9eb40ff344f66dc542f (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
30
31
.help s2tp Jun99 "Slalib Package"
.nf

      SUBROUTINE slS2TP (RA, DEC, RAZ, DECZ, XI, ETA, J)

     - - - - -
      S 2 T P
     - - - - -

  Projection of spherical coordinates onto tangent plane:
  "gnomonic" projection - "standard coordinates"
  (single precision)

  Given:
     RA,DEC      real  spherical coordinates of point to be projected
     RAZ,DECZ    real  spherical coordinates of tangent point

  Returned:
     XI,ETA      real  rectangular coordinates on tangent plane
     J           int   status:   0 = OK, star on tangent plane
                                 1 = error, star too far from axis
                                 2 = error, antistar on tangent plane
                                 3 = error, antistar too far from axis

  P.T.Wallace   Starlink   18 July 1996

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

.fi
.endhelp