| 2820 | return true; |
| 2821 | } |
| 2822 | void vtkPKdTree::AddEntry(int* list, int len, int id) |
| 2823 | { |
| 2824 | int i = 0; |
| 2825 | |
| 2826 | while ((i < len) && (list[i] != -1)) |
| 2827 | i++; |
| 2828 | |
| 2829 | if (i == len) |
| 2830 | return; // error |
| 2831 | |
| 2832 | list[i++] = id; |
| 2833 | |
| 2834 | if (i < len) |
| 2835 | list[i] = -1; |
| 2836 | } |
| 2837 | #ifdef VTK_USE_64BIT_IDS |
| 2838 | void vtkPKdTree::AddEntry(vtkIdType* list, int len, vtkIdType id) |
| 2839 | { |
no outgoing calls
no test coverage detected