This file is indexed.

/usr/include/astro/astr2lib.h is in libastro-dev 4:4.13.0-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
//
// This file is part of the Marble Virtual Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2013 Gerhard Holtkamp
//

#if !defined(__astr2lib_h)
#define __astr2lib_h

#include "attlib.h"
#include "astrolib_export.h"

/***********************************************************************
	Definitions of Astr2lib Functions


  Author: Gerhard HOLTKAMP                   21-MAY-2000
 ***********************************************************************/

class ASTROLIB_EXPORT Plan200      // Calculating the Planets in epoch J2000.0 coordinates
 {
  public:
    Plan200();
    Vec3 velocity() const;   // return last calculated planet velocity
    void state (Vec3& rs, Vec3& vs) const;  // return last state vector
    Vec3 Mercury (double t);   // position of Mercury at time t
    Vec3 Venus (double t);   // position of Venus at time t
    Vec3 Mars (double t);   // position of Mars at time t
    Vec3 Jupiter (double t);   // position of Jupiter at time t
    Vec3 Saturn (double t);   // position of Saturn at time t
    Vec3 Uranus (double t);   // position of Uranus at time t
	  Vec3 Neptune (double t);   // position of Neptune at time t
	  Vec3 Pluto (double t);   // position of Pluto at time t

  private:
	 double	c3[19], s3[19];
	 double	c[11], s[11];
	 double	m1, m2, m3, m4, m5, m6, m7, m8;
	 double	tt;
	 double	u, v, dl, dr, db, l, b, r;
	 Vec3   	rp, vp;   // state vector of planet

    static void addthe (double c1, double s1, double c2, double s2,
					double& cc, double& ss);
    void term (int i1, int i, int it, double dlc, double dls, double drc,
			  double drs, double dbc, double dbs);
    void posvel ();  
 };

  ASTROLIB_EXPORT void MarPhobos (double t, Vec3& rs, Vec3& vs); // State vector of Phobos
  ASTROLIB_EXPORT void MarDeimos (double t, Vec3& rs, Vec3& vs); // State vector of Deimos
  ASTROLIB_EXPORT Vec3 PosJIo (double t);      // Position of Io
  ASTROLIB_EXPORT Vec3 PosEuropa (double t);   // Position of Europa
  ASTROLIB_EXPORT Vec3 PosGanymede (double t); // Position of Ganymede
  ASTROLIB_EXPORT Vec3 PosCallisto (double t); // Position of Callisto
  ASTROLIB_EXPORT void JupIo (double t, Vec3& rs, Vec3& vs);       // state vector of Io
  ASTROLIB_EXPORT void JupEuropa (double t, Vec3& rs, Vec3& vs);   // state vector of Europa
  ASTROLIB_EXPORT void JupGanymede (double t, Vec3& rs, Vec3& vs); // state vector of Ganymede
  ASTROLIB_EXPORT void JupCallisto (double t, Vec3& rs, Vec3& vs); // state vector of Callisto
  ASTROLIB_EXPORT void SatRhea (double t, Vec3& rs, Vec3& vs);   // state vector of Rhea
  ASTROLIB_EXPORT void SatTitan (double t, Vec3& rs, Vec3& vs);  // state vector of Titan
  ASTROLIB_EXPORT void NepTriton (double t, Vec3& rs, Vec3& vs); // state vector of Triton
  ASTROLIB_EXPORT void PluCharon (double t, Vec3& rs, Vec3& vs); // state vector of Charon

#endif         // __astr2lib_h sentry.