------------------------------------------------------------------------------
| 115 | |
| 116 | //------------------------------------------------------------------------------ |
| 117 | bool vtkHyperTreeGridGeometryEntry::IsTerminalNode( |
| 118 | const vtkHyperTreeGrid* grid, const vtkHyperTree* tree, unsigned int level) const |
| 119 | { |
| 120 | assert("pre: not_tree" && tree); |
| 121 | bool result = !this->IsLeaf(grid, tree, level); |
| 122 | if (result) |
| 123 | { |
| 124 | result = tree->IsTerminalNode(this->Index); |
| 125 | } |
| 126 | assert("post: compatible" && (!result || !this->IsLeaf(grid, tree, level))); |
| 127 | return result; |
| 128 | } |
| 129 | |
| 130 | //------------------------------------------------------------------------------ |
| 131 | void vtkHyperTreeGridGeometryEntry::ToChild(const vtkHyperTreeGrid* grid, const vtkHyperTree* tree, |