------------------------------------------------------------------------------
| 400 | |
| 401 | //------------------------------------------------------------------------------ |
| 402 | inline void vtkStructuredData::GetCellExtentFromPointExtent( |
| 403 | const int nodeExtent[6], int cellExtent[6], int) |
| 404 | { |
| 405 | cellExtent[0] = nodeExtent[0]; |
| 406 | cellExtent[2] = nodeExtent[2]; |
| 407 | cellExtent[4] = nodeExtent[4]; |
| 408 | |
| 409 | cellExtent[1] = vtkStructuredData::Max(nodeExtent[0], nodeExtent[1] - 1); |
| 410 | cellExtent[3] = vtkStructuredData::Max(nodeExtent[2], nodeExtent[3] - 1); |
| 411 | cellExtent[5] = vtkStructuredData::Max(nodeExtent[4], nodeExtent[5] - 1); |
| 412 | } |
| 413 | |
| 414 | //------------------------------------------------------------------------------ |
| 415 | inline void vtkStructuredData::GetDimensionsFromExtent(const int ext[6], int dims[3], int) |