165 |
for(int ip2=ip1+1; ip2<min(22,ip1+3); ip2++){ |
for(int ip2=ip1+1; ip2<min(22,ip1+3); ip2++){ |
166 |
// cout << "ip1 "<<ip1<<" "<<ids[ip1][iv].size()<<endl; |
// cout << "ip1 "<<ip1<<" "<<ids[ip1][iv].size()<<endl; |
167 |
// cout << "ip2 "<<ip2<<" "<<ids[ip2][iv].size()<<endl; |
// cout << "ip2 "<<ip2<<" "<<ids[ip2][iv].size()<<endl; |
168 |
for(int is1=0; is1<ids[ip1][iv].size(); is1++){ |
for(int is1=0; is1<(int)ids[ip1][iv].size(); is1++){ |
169 |
for(int is2=0; is2<ids[ip2][iv].size(); is2++){ |
for(int is2=0; is2<(int)ids[ip2][iv].size(); is2++){ |
170 |
|
|
171 |
// ...................................... metodo 1 |
// ...................................... metodo 1 |
172 |
// int ids1 = ids[ip1][iv][is1]; |
// int ids1 = ids[ip1][iv][is1]; |
183 |
// xyz2[2] = cstrip.GetZ(); |
// xyz2[2] = cstrip.GetZ(); |
184 |
|
|
185 |
// ...................................... metodo 2 |
// ...................................... metodo 2 |
186 |
int ids1 = ids[ip1][iv][is1]; |
// int ids1 = ids[ip1][iv][is1]; |
187 |
int ids2 = ids[ip2][iv][is2]; |
int ids2 = ids[ip2][iv][is2]; |
188 |
float xyz1[3]; |
float xyz1[3]; |
189 |
float xyz2[3]; |
float xyz2[3]; |