------------------------------------------------------------------------------
| 108 | |
| 109 | //------------------------------------------------------------------------------ |
| 110 | bool vtkHyperTreeGridGeometryLevelEntry::IsTerminalNode(const vtkHyperTreeGrid* grid) const |
| 111 | { |
| 112 | assert("pre: not_tree" && this->Tree); |
| 113 | bool result = !this->IsLeaf(grid); |
| 114 | if (result) |
| 115 | { |
| 116 | result = this->Tree->IsTerminalNode(this->Index); |
| 117 | } |
| 118 | assert("post: compatible" && (!result || !this->IsLeaf(grid))); |
| 119 | return result; |
| 120 | } |
| 121 | |
| 122 | //------------------------------------------------------------------------------ |
| 123 | void vtkHyperTreeGridGeometryLevelEntry::ToChild(const vtkHyperTreeGrid* grid, unsigned char ichild) |