------------------------------------------------------------------------------
| 427 | |
| 428 | //------------------------------------------------------------------------------ |
| 429 | void vtkOctreePointLocator::BuildLeafNodeList(vtkOctreePointLocatorNode* node, int& index) |
| 430 | { |
| 431 | if (node->GetChild(0)) |
| 432 | { |
| 433 | for (int i = 0; i < 8; i++) |
| 434 | { |
| 435 | this->BuildLeafNodeList(node->GetChild(i), index); |
| 436 | } |
| 437 | } |
| 438 | else |
| 439 | { |
| 440 | this->LeafNodeList[index] = node; |
| 441 | index++; |
| 442 | } |
| 443 | } |
| 444 | |
| 445 | //------------------------------------------------------------------------------ |
| 446 | vtkIdType vtkOctreePointLocator::FindClosestPoint(const double x[3]) |
no test coverage detected