------------------------------------------------------------------------------ Default implementation. This is very slow way to compute this information. Subclasses should override this method for efficiency.
| 605 | // Default implementation. This is very slow way to compute this information. |
| 606 | // Subclasses should override this method for efficiency. |
| 607 | void vtkDataSet::GetCellBounds(vtkIdType cellId, double bounds[6]) |
| 608 | { |
| 609 | vtkNew<vtkGenericCell> cell; |
| 610 | this->GetCell(cellId, cell); |
| 611 | cell->GetBounds(bounds); |
| 612 | } |
| 613 | |
| 614 | //------------------------------------------------------------------------------ |
| 615 | void vtkDataSet::Squeeze() |