| 645 | } |
| 646 | |
| 647 | void vtkAMRBox::GetNumberOfNodes(int* ext) const |
| 648 | { |
| 649 | ext[0] = this->HiCorner[0] - this->LoCorner[0] + 2; |
| 650 | ext[1] = this->HiCorner[1] - this->LoCorner[1] + 2; |
| 651 | ext[2] = this->HiCorner[2] - this->LoCorner[2] + 2; |
| 652 | assert(ext[0] >= 1 && ext[1] >= 1 && ext[2] >= 1); |
| 653 | } |
| 654 | |
| 655 | //------------------------------------------------------------------------------ |
| 656 | vtkIdType vtkAMRBox::GetNumberOfNodes() const |