This file is indexed.

/usr/include/ossim/base/ossimFpt.h is in libossim-dev 1.8.16-4ubuntu1.

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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
//*******************************************************************
//
// License:  See top level LICENSE.txt file.
//
// Author:  David Burken
//
// Description:
//
// Contains class declaration for fpt.
// Used to represent a two dimensional point containing data members x and y.
//*******************************************************************
//  $Id: ossimFpt.h 14789 2009-06-29 16:48:14Z dburken $

#ifndef ossimFpt_HEADER
#define ossimFpt_HEADER
#include <iosfwd>
#include <ossim/base/ossimCommon.h>

// Forward class declarations.
class ossimIpt;
class ossimDpt;


class OSSIMDLLEXPORT ossimFpt
{
public:

   ossimFpt() : x(0), y(0) {}

   ossimFpt(ossim_float32 x, ossim_float32 y)
      : x(x), y(y)
      {}

   ossimFpt(ossim_float64 x, ossim_float64 y)
      : x((ossim_float64)x), y((ossim_float64)y)
      {}
         
   ossimFpt(const ossimFpt& pt) : x(pt.x), y(pt.y) {}

   ossimFpt(const ossimDpt& pt);

   ossimFpt(const ossimIpt& pt);

   const ossimFpt& operator=(const ossimFpt& pt);

   const ossimFpt& operator=(const ossimDpt&);

   const ossimFpt& operator=(const ossimIpt&);

   bool operator==(const ossimFpt& pt) const
      { return ( (x == pt.x) && (y == pt.y) ); } 

   bool operator!=(const ossimFpt& pt) const
      { return ( (x != pt.x) || (y != pt.y) ); }

   void makeNan(){x = ossim::nan(); y=ossim::nan();}
   
   bool hasNans()const
      {
         return (ossim::isnan(x) || ossim::isnan(y));
      }
   
   void print(std::ostream& os) const;
   
   friend std::ostream& operator<<(std::ostream& os, const ossimFpt& pt);

   //***
   // Public data members:
   //***
   ossim_float32 x;
   ossim_float32 y;
};

inline const ossimFpt& ossimFpt::operator=(const ossimFpt& pt)
{
   if (this != &pt)
   {
      x = pt.x;
      y = pt.y;
   }
   
   return *this;
}

#endif