------------------------------------------------------------------------------
| 1740 | |
| 1741 | //------------------------------------------------------------------------------ |
| 1742 | double* vtkHyperTreeGrid::GetCenter() |
| 1743 | { |
| 1744 | double* bds = this->GetBounds(); |
| 1745 | this->Center[0] = bds[0] + (bds[1] - bds[0]) / 2.0; |
| 1746 | this->Center[1] = bds[2] + (bds[3] - bds[2]) / 2.0; |
| 1747 | this->Center[2] = bds[4] + (bds[5] - bds[4]) / 2.0; |
| 1748 | return this->Center; |
| 1749 | } |
| 1750 | |
| 1751 | //------------------------------------------------------------------------------ |
| 1752 | void vtkHyperTreeGrid::GetCenter(double* octr) |