---------------------------------------------------------------------------
| 469 | |
| 470 | //--------------------------------------------------------------------------- |
| 471 | bool vtkHyperTree::IsLeaf(vtkIdType index) const |
| 472 | { |
| 473 | assert("pre: valid_range" && index >= 0 && index < this->Datas->NumberOfVertices); |
| 474 | return static_cast<unsigned long>(index) >= this->Datas->ParentToElderChild.size() || |
| 475 | this->Datas->ParentToElderChild[index] == std::numeric_limits<unsigned int>::max() || |
| 476 | this->Datas->NumberOfVertices == 1; |
| 477 | } |
| 478 | |
| 479 | //--------------------------------------------------------------------------- |
| 480 | void vtkHyperTree::ComputeBreadthFirstOrderDescriptorImpl(const unsigned int depthLimiter, |
no test coverage detected