This file is indexed.

/usr/include/ossim/base/ossimGeoidNgs.h is in libossim-dev 1.7.21-4.

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
//*******************************************************************
//
// License:  See top level LICENSE.txt file.
//
// Author: Garrett Potts
//
// Description:
//
//*******************************************************************
//  $Id: ossimGeoidNgs.h 11496 2007-08-06 09:18:28Z dburken $
#ifndef ossimGeoidNgs_HEADER
#define ossimGeoidNgs_HEADER

#include <ossim/base/ossimGeoid.h>
#include <ossim/base/ossimGeoidNgsHeader.h>

class OSSIMDLLEXPORT ossimGeoidNgs : public ossimGeoid
{

public:
   ossimGeoidNgs();
   ossimGeoidNgs(const ossimFilename& dir,
                 ossimByteOrder byteOrder = OSSIM_LITTLE_ENDIAN);
   virtual ~ossimGeoidNgs();

   virtual ossimString getShortName()const;
   
   virtual bool open(const ossimFilename& dir,
                     ossimByteOrder byteOrder = OSSIM_LITTLE_ENDIAN);

   virtual bool addFile(const ossimFilename& file,
                        ossimByteOrder byteOrder = OSSIM_LITTLE_ENDIAN);
   /**
    *  @return The offset from the ellipsoid to the geoid or ossim::nan()
    *  if grid does not contain the point.
    */
   virtual double offsetFromEllipsoid(const ossimGpt&) const;

   /**
    *  @return Geoid to ellipsoid height or ossim::nan()
    *  if grid does not contain the point.
    */
   double geoidToEllipsoidHeight(double lat,
                                 double lon,
                                 double geoidHeight) const;

   /**
    *  @return Ellipsoid to geoid height or ossim::nan()
    *  if grid does not contain the point.
    */
   double ellipsoidToGeoidHeight(double lat,
                                 double lon,
                                 double ellipsoidHeight) const;
protected:
   void fixLatLon(double &lat, double &lon) const;
   double deltaHeight(double lat, double lon)const;
   
   std::vector<ossimGeoidNgsHeader> theGridVector;
   ossimString theShortName;

   TYPE_DATA
};

#endif