This file is indexed.

/usr/include/CLHEP/Vector/AxisAngle.icc is in libclhep-dev 2.1.4.1-1.1.

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
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#ifndef AXISANGLE_ICC
#error "AxisAngle.icc included without AxisAngle.h"
#endif


// ----------------------------------------------------------------------
//
// AxisAngle.icc
//
// History:
//   23-Jan-1998  WEB  Initial draft
//   12-Mar-1998  WEB  Gave default constructor proper default values
//   13-Mar-1998  WEB  Corrected setDelta; simplified compare()
//   17-Jun-1998  WEB  Added namespace support
//   26-Jul-2000  MF   CLHEP version
//
// ----------------------------------------------------------------------

namespace CLHEP {

inline HepAxisAngle::HepAxisAngle() :
  axis_( Hep3Vector(0,0,1) ), delta_( 0.0 )
{}  // HepAxisAngle::HepAxisAngle()

inline HepAxisAngle::HepAxisAngle( const Hep3Vector aaxis, Scalar ddelta ) :
  axis_( aaxis.unit() ), delta_( ddelta )
{}  // HepAxisAngle::HepAxisAngle()


inline Hep3Vector HepAxisAngle::getAxis() const {
  return  axis_;
}  // HepAxisAngle::getAxis()

inline Hep3Vector HepAxisAngle::axis() const {
  return  axis_;
}  // HepAxisAngle::axis()


inline HepAxisAngle & HepAxisAngle::setAxis( const Hep3Vector aaxis ) {
  axis_ = aaxis.unit();
  return  *this;
}  // HepAxisAngle::setAxis()


inline double HepAxisAngle::getDelta() const {
  return  delta_;
}  // HepAxisAngle::getDelta()

inline double HepAxisAngle::delta() const {
  return  delta_;
}  // HepAxisAngle::delta()


inline HepAxisAngle & HepAxisAngle::setDelta( Scalar ddelta ) {
  delta_ = ddelta;
  return  *this;
}  // HepAxisAngle::setDelta()


inline HepAxisAngle & HepAxisAngle::set( const Hep3Vector aaxis, Scalar ddelta ) {
  axis_ = aaxis.unit();
  delta_ = ddelta;
  return  *this;
}  // HepAxisAngle::set()


inline int HepAxisAngle::compare( const AA & aa ) const {

  return  delta_ < aa.delta_  ?  -1
       :  delta_ > aa.delta_  ?  +1
       :  axis_  < aa.axis_   ?  -1
       :  axis_  > aa.axis_   ?  +1
       :                          0;

}  // HepAxisAngle::compare()


inline bool HepAxisAngle::operator==( const AA & aa ) const {
  return  ( compare( aa ) == 0 );
}  // HepAxisAngle::operator==()


inline bool HepAxisAngle::operator!=( const AA & aa ) const {
  return  ( compare( aa ) != 0 );
}  // HepAxisAngle::operator!=()


inline bool HepAxisAngle::operator<( const AA & aa ) const {
  return  ( compare( aa ) < 0 );
}  // HepAxisAngle::operator<()


inline bool HepAxisAngle::operator<=( const AA & aa ) const {
  return  ( compare( aa ) <= 0 );
}  // HepAxisAngle::operator<=()


inline bool HepAxisAngle::operator>( const AA & aa ) const {
  return  ( compare( aa ) > 0 );
}  // HepAxisAngle::operator>()


inline bool HepAxisAngle::operator>=( const AA & aa ) const {
  return  ( compare( aa ) >= 0 );
}  // HepAxisAngle::operator>=()


inline double HepAxisAngle::getTolerance() {
  return tolerance;
}  // HepAxisAngle::getTolerance()


inline double HepAxisAngle::setTolerance( Scalar tol ) {
  Scalar oldTolerance( tolerance );
  tolerance = tol;
  return oldTolerance;
}  // HepAxisAngle::setTolerance()

}  // namespace CLHEP