VTK_DEPRECATED_IN_9_6_0() ------------------------------------------------------------------------------
| 238 | // VTK_DEPRECATED_IN_9_6_0() |
| 239 | //------------------------------------------------------------------------------ |
| 240 | vtkIdTypeArray* vtkUnstructuredGrid::GetCellLocationsArray() |
| 241 | { |
| 242 | if (!this->CellLocations) |
| 243 | { |
| 244 | this->CellLocations = vtkSmartPointer<vtkIdTypeArray>::New(); |
| 245 | } |
| 246 | this->CellLocations->DeepCopy(this->Connectivity->GetOffsetsArray()); |
| 247 | this->CellLocations->SetNumberOfValues(this->GetNumberOfCells()); |
| 248 | |
| 249 | return this->CellLocations; |
| 250 | } |
| 251 | |
| 252 | // VTK_DEPRECATED_IN_9_6_0() |
| 253 | //------------------------------------------------------------------------------ |
no test coverage detected