aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/doc/tp2v.hlp
blob: e81c60d1ea2a7b6dced1385dae3cab71d1ae6ec7 (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
32
33
34
35
36
37
38
39
40
.help tp2v Jun99 "Slalib Package"
.nf

      SUBROUTINE slTP2V (XI, ETA, V0, V)

     - - - - -
      T P 2 V
     - - - - -

  Given the tangent-plane coordinates of a star and the direction
  cosines of the tangent point, determine the direction cosines
  of the star.

  (single precision)

  Given:
     XI,ETA    r       tangent plane coordinates of star
     V0        r(3)    direction cosines of tangent point

  Returned:
     V         r(3)    direction cosines of star

  Notes:

  1  If vector V0 is not of unit length, the returned vector V will
     be wrong.

  2  If vector V0 points at a pole, the returned vector V will be
     based on the arbitrary assumption that the RA of the tangent
     point is zero.

  3  This routine is the Cartesian equivalent of the routine slTP2S.

  P.T.Wallace   Starlink   11 February 1995

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

.fi
.endhelp