40 first = index = last = next = temp = (
G4Surface*)0;
52 if(number_of_elements)
110 number_of_elements--;
117 if(number_of_elements == 0)last = first;
126 if(srf == last) last = temp;
138 if(number_of_elements)
161 number_of_elements--;
173 number_of_elements--;
176 last = index = first;
195 if(number_of_elements == 1)
return;
204 if(number_of_elements > 1)
206 while(x < number_of_elements)
208 distances[
x] = index;
221 first = distances[
x];
225 while (x < number_of_elements)
250 while ( (Dist[i]->GetDistance() < elem2->
GetDistance()) && (i < right) )