------------------------------------------------------------------------------
| 204 | |
| 205 | //------------------------------------------------------------------------------ |
| 206 | vtkStructuredNeighbor vtkStructuredGridConnectivity::GetGridNeighbor(int gridID, int nei) |
| 207 | { |
| 208 | assert("pre: gridID out-of-bounds!" && |
| 209 | (gridID >= 0 && gridID < static_cast<int>(this->NumberOfGrids))); |
| 210 | assert( |
| 211 | "pre: nei index is out-of-bounds!" && (nei >= 0) && (nei < this->GetNumberOfNeighbors(gridID))); |
| 212 | |
| 213 | return (this->Neighbors[gridID][nei]); |
| 214 | } |
| 215 | |
| 216 | //------------------------------------------------------------------------------ |
| 217 | vtkIdList* vtkStructuredGridConnectivity::GetNeighbors(int gridID, int* extents) |
no test coverage detected