This file is indexed.

/usr/include/psurface/GlobalNodeIdx.h is in libpsurface-dev 2.0.0-2+b1.

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
#ifndef GLOBAL_NODE_IDX_H
#define GLOBAL_NODE_IDX_H

namespace psurface {

/** This class represents a global index for parametrization nodes on the base grid.
 * It consists of the base grid triangle number and the node index on that triangle.
 */
class GlobalNodeIdx {

public:
    //! Default constructor
    GlobalNodeIdx() : tri(-1), idx(-1) {}

    //! Construct from integers
    GlobalNodeIdx(int t, int i) {
        tri = t;
        idx = i;
    }

    //! Set index
    void setValue(int t, int i) {
        tri = t;
        idx = i;
    }

    //! Check if the index is valid
    bool isValid() const { return tri >= 0;}

    //! Print index
    void print() const {
        printf("tri: %d   idx: %d\n", tri, idx);
    }

    //! Base grid triangle index
    int tri;
    //! Local index of the node
    int idx;

};

} // namespace psurface

#endif