------------------------------------------------------------------------------
| 83 | |
| 84 | //------------------------------------------------------------------------------ |
| 85 | bool vtkHyperTreeGridGeometryLevelEntry::IsLeaf(const vtkHyperTreeGrid* grid) const |
| 86 | { |
| 87 | assert("pre: not_tree" && this->Tree); |
| 88 | // How to set an accessor to DepthLimiter which is const? |
| 89 | if (this->Level == const_cast<vtkHyperTreeGrid*>(grid)->GetDepthLimiter()) |
| 90 | { |
| 91 | return true; |
| 92 | } |
| 93 | return this->Tree->IsLeaf(this->Index); |
| 94 | } |
| 95 | |
| 96 | //------------------------------------------------------------------------------ |
| 97 | void vtkHyperTreeGridGeometryLevelEntry::SubdivideLeaf(const vtkHyperTreeGrid* grid) |
no test coverage detected