This file is indexed.

/usr/share/dx/samples/programs/Refine.net is in dxsamples 4.2.0-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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
//
// time: Tue Apr 29 11:55:58 1997
//
// version: 3.1.1 (format), 3.1.4 (DX)
//
//
// MODULE main
//
// comment: This visual program shows the use of Refine to change the connections of a grid, in this example, a 2D grid. 
// comment: 
// comment: The leftmost image is the orginal data. The middle image uses Refine to convert quads to triangles. The rightmost image uses Refine to refine the grid by two levels; that is, converting a quad into 4x4=16 quads.
// workspace: width = 519, height = 626
// layout: snap = 0, width = 50, height = 50, align = UL
//
macro main(
) -> (
) {
    // 
    // node Construct[1]: x = 16, y = 0, inputs = 4, label = Construct
    // input[1]: defaulting = 0, visible = 1, type = 16777224, value = {[0 0]}
    // input[2]: defaulting = 0, visible = 1, type = 16777224, value = {[1 1]}
    // input[3]: defaulting = 0, visible = 1, type = 8, value = [4 4]
    //
main_Construct_1_out_1 = 
    Construct(
    main_Construct_1_in_1,
    main_Construct_1_in_2,
    main_Construct_1_in_3,
    main_Construct_1_in_4
    ) [instance: 1, cache: 1];
    // 
    // node ShowConnections[2]: x = 36, y = 215, inputs = 1, label = ShowConnections
    //
main_ShowConnections_2_out_1 = 
    ShowConnections(
    main_Construct_1_out_1
    ) [instance: 2, cache: 1];
    // 
    // node AutoCamera[1]: x = 192, y = 19, inputs = 9, label = AutoCamera
    // input[4]: defaulting = 0, visible = 1, type = 1, value = 300
    //
main_AutoCamera_1_out_1 = 
    AutoCamera(
    main_Construct_1_out_1,
    main_AutoCamera_1_in_2,
    main_AutoCamera_1_in_3,
    main_AutoCamera_1_in_4,
    main_AutoCamera_1_in_5,
    main_AutoCamera_1_in_6,
    main_AutoCamera_1_in_7,
    main_AutoCamera_1_in_8,
    main_AutoCamera_1_in_9
    ) [instance: 1, cache: 1];
    // 
    // node Render[1]: x = 105, y = 351, inputs = 3, label = Render
    //
main_Render_1_out_1 = 
    Render(
    main_ShowConnections_2_out_1,
    main_AutoCamera_1_out_1,
    main_Render_1_in_3
    ) [instance: 1, cache: 1];
    // 
    // node Refine[1]: x = 257, y = 142, inputs = 2, label = Refine
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "triangles"
    //
main_Refine_1_out_1 = 
    Refine(
    main_Construct_1_out_1,
    main_Refine_1_in_2
    ) [instance: 1, cache: 1];
    // 
    // node ShowConnections[3]: x = 201, y = 220, inputs = 1, label = ShowConnections
    //
main_ShowConnections_3_out_1 = 
    ShowConnections(
    main_Refine_1_out_1
    ) [instance: 3, cache: 1];
    // 
    // node Render[2]: x = 254, y = 342, inputs = 3, label = Render
    //
main_Render_2_out_1 = 
    Render(
    main_ShowConnections_3_out_1,
    main_AutoCamera_1_out_1,
    main_Render_2_in_3
    ) [instance: 2, cache: 1];
    // 
    // node Refine[2]: x = 418, y = 115, inputs = 2, label = Refine
    // input[2]: defaulting = 0, visible = 1, type = 1, value = 2
    //
main_Refine_2_out_1 = 
    Refine(
    main_Construct_1_out_1,
    main_Refine_2_in_2
    ) [instance: 2, cache: 1];
    // 
    // node ShowConnections[4]: x = 386, y = 222, inputs = 1, label = ShowConnections
    //
main_ShowConnections_4_out_1 = 
    ShowConnections(
    main_Refine_2_out_1
    ) [instance: 4, cache: 1];
    // 
    // node Render[3]: x = 433, y = 331, inputs = 3, label = Render
    //
main_Render_3_out_1 = 
    Render(
    main_ShowConnections_4_out_1,
    main_AutoCamera_1_out_1,
    main_Render_3_in_3
    ) [instance: 3, cache: 1];
    // 
    // node Collect[1]: x = 243, y = 436, inputs = 3, label = Collect
    //
main_Collect_1_out_1 = 
    Collect(
    main_Render_1_out_1,
    main_Render_2_out_1,
    main_Render_3_out_1
    ) [instance: 1, cache: 1];
    // 
    // node Arrange[1]: x = 151, y = 483, inputs = 5, label = Arrange
    //
main_Arrange_1_out_1 = 
    Arrange(
    main_Collect_1_out_1,
    main_Arrange_1_in_2,
    main_Arrange_1_in_3,
    main_Arrange_1_in_4,
    main_Arrange_1_in_5
    ) [instance: 1, cache: 1];
    // 
    // node Display[1]: x = 132, y = 564, inputs = 8, label = Display
    // depth: value = 24
    // window: position = (0.1867,0.1211), size = 0.7141x0.2627
    //
main_Display_1_out_1[cache: 2] = 
    Display(
    main_Arrange_1_out_1,
    main_Display_1_in_2,
    main_Display_1_in_3,
    main_Display_1_in_4,
    main_Display_1_in_5,
    main_Display_1_in_6,
    main_Display_1_in_7,
    main_Display_1_in_8
    ) [instance: 1, cache: 1];
// network: end of macro body
}
main_Construct_1_in_1 = {[0 0]};
main_Construct_1_in_2 = {[1 1]};
main_Construct_1_in_3 = [4 4];
main_Construct_1_in_4 = NULL;
main_Construct_1_out_1 = NULL;
main_ShowConnections_2_out_1 = NULL;
main_AutoCamera_1_in_2 = NULL;
main_AutoCamera_1_in_3 = NULL;
main_AutoCamera_1_in_4 = 300;
main_AutoCamera_1_in_5 = NULL;
main_AutoCamera_1_in_6 = NULL;
main_AutoCamera_1_in_7 = NULL;
main_AutoCamera_1_in_8 = NULL;
main_AutoCamera_1_in_9 = NULL;
main_AutoCamera_1_out_1 = NULL;
main_Render_1_in_3 = NULL;
main_Render_1_out_1 = NULL;
main_Refine_1_in_2 = "triangles";
main_Refine_1_out_1 = NULL;
main_ShowConnections_3_out_1 = NULL;
main_Render_2_in_3 = NULL;
main_Render_2_out_1 = NULL;
main_Refine_2_in_2 = 2;
main_Refine_2_out_1 = NULL;
main_ShowConnections_4_out_1 = NULL;
main_Render_3_in_3 = NULL;
main_Render_3_out_1 = NULL;
main_Collect_1_out_1 = NULL;
main_Arrange_1_in_2 = NULL;
main_Arrange_1_in_3 = NULL;
main_Arrange_1_in_4 = NULL;
main_Arrange_1_in_5 = NULL;
main_Arrange_1_out_1 = NULL;
main_Display_1_in_2 = NULL;
main_Display_1_in_3 = "X24,,";
main_Display_1_in_4 = NULL;
main_Display_1_in_5 = NULL;
main_Display_1_in_6 = NULL;
main_Display_1_in_7 = NULL;
main_Display_1_in_8 = NULL;
Executive("product version 3 1 4");
$sync
main();