------------------------------------------------------------------------------
| 204 | |
| 205 | //------------------------------------------------------------------------------ |
| 206 | int vtkExtractStructuredGridHelper::GetMappedIndex(int dim, int outIdx) |
| 207 | { |
| 208 | // Sanity Checks |
| 209 | assert("pre: dimension dim is out-of-bounds!" && dim >= 0 && dim < 3); |
| 210 | assert("pre: point index out-of-bounds!" && outIdx >= 0 && outIdx < this->GetSize(dim)); |
| 211 | return this->IndexMap->Mapping[dim][outIdx]; |
| 212 | } |
| 213 | |
| 214 | //------------------------------------------------------------------------------ |
| 215 | int vtkExtractStructuredGridHelper::GetMappedIndexFromExtentValue(int dim, int outExtVal) |
no test coverage detected