------------------------------------------------------------------------------
| 126 | |
| 127 | //------------------------------------------------------------------------------ |
| 128 | bool vtkHyperTreeGridLevelEntry::IsTerminalNode(const vtkHyperTreeGrid* grid) const |
| 129 | { |
| 130 | assert("pre: not_tree" && this->Tree); |
| 131 | bool result = !this->IsLeaf(grid); |
| 132 | if (result) |
| 133 | { |
| 134 | result = this->Tree->IsTerminalNode(this->Index); |
| 135 | } |
| 136 | assert("post: compatible" && (!result || !this->IsLeaf(grid))); |
| 137 | return result; |
| 138 | } |
| 139 | |
| 140 | //------------------------------------------------------------------------------ |
| 141 | void vtkHyperTreeGridLevelEntry::ToChild(const vtkHyperTreeGrid* grid, unsigned char ichild) |